Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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)