diff options
author | Slawomir Stepien <sst@poczta.fm> | 2016-04-14 19:36:34 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-16 12:39:22 (GMT) |
commit | fc0b81704f0458c20793e82a3c094a215833dcfe (patch) | |
tree | 92281de136b9fa1a798a8eb9c92ad923b28c8193 /drivers/iio | |
parent | ebe168069324b0a182f74bef593240840e4da97e (diff) | |
download | linux-fc0b81704f0458c20793e82a3c094a215833dcfe.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c index 734a004..2fc7928 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) { |