diff options
author | Jimmy Picard <jimmyp11f155@gmail.com> | 2014-06-13 09:56:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-06-14 19:19:10 +0400 |
commit | aff8945566f0352b39244a714769b10f9f4d873a (patch) | |
tree | e5108ea0f7702cbc9f2692fd16a9b20868fa0164 | |
parent | 9d2f79abdf8313682d7b38570de0a717b0e9baf1 (diff) | |
download | linux-aff8945566f0352b39244a714769b10f9f4d873a.tar.xz |
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 <jimmyp11f155@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/staging/iio/iio_simple_dummy.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |