projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe1680
)
iio: inkern: add a missing space before if
author
Slawomir Stepien
<sst@poczta.fm>
Thu, 14 Apr 2016 19:36:34 +0000
(21:36 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 16 Apr 2016 12:39:22 +0000
(13:39 +0100)
This fixes the error reported by checkpatch.pl:
ERROR: space required before the open parenthesis '('
Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/inkern.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/inkern.c
b/drivers/iio/inkern.c
index 734a0042de0cb4265ee3145ee48f22a19b8b50af..2fc7928f401df4f9ea8e6ca2fe9deee6c8fcb142 100644
(file)
--- a/
drivers/iio/inkern.c
+++ b/
drivers/iio/inkern.c
@@
-452,7
+452,7
@@
static int iio_channel_read(struct iio_channel *chan, int *val, int *val2,
if (val2 == NULL)
val2 = &unused;
- if(!iio_channel_has_info(chan->channel, info))
+ if
(!iio_channel_has_info(chan->channel, info))
return -EINVAL;
if (chan->indio_dev->info->read_raw_multi) {