提交 aff89455 编写于 作者: J Jimmy Picard 提交者: 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: NJimmy Picard <jimmyp11f155@gmail.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册