Commit aff89455 authored by Jimmy Picard's avatar Jimmy Picard Committed by Jonathan Cameron

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: default avatarJimmy Picard <jimmyp11f155@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 9d2f79ab
...@@ -550,6 +550,7 @@ static int iio_dummy_remove(int index) ...@@ -550,6 +550,7 @@ static int iio_dummy_remove(int index)
static __init int iio_dummy_init(void) static __init int iio_dummy_init(void)
{ {
int i, ret; int i, ret;
if (instances > 10) { if (instances > 10) {
instances = 1; instances = 1;
return -EINVAL; return -EINVAL;
...@@ -577,6 +578,7 @@ module_init(iio_dummy_init); ...@@ -577,6 +578,7 @@ module_init(iio_dummy_init);
static __exit void iio_dummy_exit(void) static __exit void iio_dummy_exit(void)
{ {
int i; int i;
for (i = 0; i < instances; i++) for (i = 0; i < instances; i++)
iio_dummy_remove(i); iio_dummy_remove(i);
kfree(iio_dummy_devs); kfree(iio_dummy_devs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment