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:
Himanshu Jha 2018-03-17 01:36:24 +05:30 committed by Jonathan Cameron
parent e7f3bfb7eb
commit 58f368f509
1 changed files with 2 additions and 2 deletions

View File

@ -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)