mirror of https://gitee.com/openkylin/linux.git
Staging: iio: accel: adis16201: Prefer reverse christmas tree ordering
Prefer reverse christmas tree ordering of declarations to improve readability. Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
e7f3bfb7eb
commit
58f368f509
|
@ -259,9 +259,9 @@ static const struct adis_data adis16201_data = {
|
|||
|
||||
static int adis16201_probe(struct spi_device *spi)
|
||||
{
|
||||
int ret;
|
||||
struct adis *st;
|
||||
struct iio_dev *indio_dev;
|
||||
struct adis *st;
|
||||
int ret;
|
||||
|
||||
indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st));
|
||||
if (!indio_dev)
|
||||
|
|
Loading…
Reference in New Issue