projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2f79a
)
staging: iio: fix coding style by adding blank lines in iio_simple_dummy
author
Jimmy Picard
<jimmyp11f155@gmail.com>
Fri, 13 Jun 2014 05:56:00 +0000
(06:56 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 14 Jun 2014 15:19:10 +0000
(16:19 +0100)
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>
drivers/staging/iio/iio_simple_dummy.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/iio_simple_dummy.c
b/drivers/staging/iio/iio_simple_dummy.c
index fd334a03a49a3ead72e5c9e7d68e64ac0391d658..bf78e6f0311ff3699818bd42ef055e21e4b2710a 100644
(file)
--- 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);