summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlawomir Stepien <sst@poczta.fm>2016-04-14 21:36:34 +0200
committerJonathan Cameron <jic23@kernel.org>2016-04-16 13:39:22 +0100
commitfc0b81704f0458c20793e82a3c094a215833dcfe (patch)
tree92281de136b9fa1a798a8eb9c92ad923b28c8193
parentebe168069324b0a182f74bef593240840e4da97e (diff)
downloadlinux-fc0b81704f0458c20793e82a3c094a215833dcfe.tar.gz
linux-fc0b81704f0458c20793e82a3c094a215833dcfe.tar.bz2
linux-fc0b81704f0458c20793e82a3c094a215833dcfe.zip
iio: inkern: add a missing space before if
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>
-rw-r--r--drivers/iio/inkern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c
index 734a0042de0c..2fc7928f401d 100644
--- 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) {