Commit 0a9d5dce authored by Shreeya Patel's avatar Shreeya Patel Committed by Jonathan Cameron

Staging: iio: adis16209: Prefer reverse christmas tree ordering

Prefer reverse christmas tree ordering of declarations to
improve readability.
Signed-off-by: default avatarShreeya Patel <shreeya.patel23498@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 55cdd2ec
...@@ -270,9 +270,9 @@ static const struct adis_data adis16209_data = { ...@@ -270,9 +270,9 @@ static const struct adis_data adis16209_data = {
static int adis16209_probe(struct spi_device *spi) static int adis16209_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