aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
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 /drivers/iio
parentiio: light apds9960: fix wrong use of brace (diff)
downloadlinux-dev-fc0b81704f0458c20793e82a3c094a215833dcfe.tar.xz
linux-dev-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>
Diffstat (limited to 'drivers/iio')
-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) {