From ce9d475607e7bf48b066603700afdb4811cec9b6 Mon Sep 17 00:00:00 2001 From: Oussama Jabbari Date: Sun, 8 Jun 2014 18:06:00 +0100 Subject: [PATCH] staging: iio: adis16060: Fix coding style problem This patch fixes a warning from checkpatch.pl script : "WARNING: Missing a blank line after declarations" Signed-off-by: Oussama Jabbari Signed-off-by: Jonathan Cameron --- drivers/staging/iio/gyro/adis16060_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/iio/gyro/adis16060_core.c b/drivers/staging/iio/gyro/adis16060_core.c index d5d395c2e3e4..4c5869dd8223 100644 --- a/drivers/staging/iio/gyro/adis16060_core.c +++ b/drivers/staging/iio/gyro/adis16060_core.c @@ -180,6 +180,7 @@ static int adis16060_w_probe(struct spi_device *spi) int ret; struct iio_dev *indio_dev = adis16060_iio_dev; struct adis16060_state *st; + if (!indio_dev) { ret = -ENODEV; goto error_ret; -- 2.34.1