Commit 58f368f5 authored by Himanshu Jha's avatar Himanshu Jha Committed by Jonathan Cameron

Staging: iio: accel: adis16201: Prefer reverse christmas tree ordering

Prefer reverse christmas tree ordering of declarations to improve
readability.
Signed-off-by: default avatarHimanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent e7f3bfb7
...@@ -259,9 +259,9 @@ static const struct adis_data adis16201_data = { ...@@ -259,9 +259,9 @@ static const struct adis_data adis16201_data = {
static int adis16201_probe(struct spi_device *spi) static int adis16201_probe(struct spi_device *spi)
{ {
int ret;
struct adis *st;
struct iio_dev *indio_dev; struct iio_dev *indio_dev;
struct adis *st;
int ret;
indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st)); indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st));
if (!indio_dev) if (!indio_dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment