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)
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);
......
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