From: Jimmy Picard Date: Fri, 13 Jun 2014 05:56:00 +0000 (+0100) Subject: staging: iio: fix coding style by adding blank lines in iio_simple_dummy X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aff8945566f0352b39244a714769b10f9f4d873a;p=linux-beck.git staging: iio: fix coding style by adding blank lines in iio_simple_dummy This patch fixes coding style reported by checkpatch.pl that missing a blank line after declarations. Signed-off-by: Jimmy Picard Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/iio_simple_dummy.c b/drivers/staging/iio/iio_simple_dummy.c index fd334a03a49a..bf78e6f0311f 100644 --- a/drivers/staging/iio/iio_simple_dummy.c +++ b/drivers/staging/iio/iio_simple_dummy.c @@ -550,6 +550,7 @@ error_ret: static __init int iio_dummy_init(void) { int i, ret; + if (instances > 10) { instances = 1; return -EINVAL; @@ -577,6 +578,7 @@ module_init(iio_dummy_init); static __exit void iio_dummy_exit(void) { int i; + for (i = 0; i < instances; i++) iio_dummy_remove(i); kfree(iio_dummy_devs);