aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Picard2014-06-13 06:56:00 +0100
committerJonathan Cameron2014-06-14 16:19:10 +0100
commitaff8945566f0352b39244a714769b10f9f4d873a (patch)
treee5108ea0f7702cbc9f2692fd16a9b20868fa0164
parent9d2f79abdf8313682d7b38570de0a717b0e9baf1 (diff)
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.c2
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);