summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOussama Jabbari <oussama.jabbari@gmail.com>2014-06-08 19:06:00 +0200
committerJonathan Cameron <jic23@kernel.org>2014-08-07 12:14:00 +0200
commitce9d475607e7bf48b066603700afdb4811cec9b6 (patch)
tree210932dc26a41c740ee6ef7c2f3c3e423744fd8f
parentiio: fix error return code (diff)
downloadlinux-ce9d475607e7bf48b066603700afdb4811cec9b6.tar.xz
linux-ce9d475607e7bf48b066603700afdb4811cec9b6.zip
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 <oussama.jabbari@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/staging/iio/gyro/adis16060_core.c1
1 files changed, 1 insertions, 0 deletions
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;