diff options
author | Slawomir Stepien <sst@poczta.fm> | 2016-04-14 22:36:34 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-16 15:39:22 +0300 |
commit | fc0b81704f0458c20793e82a3c094a215833dcfe (patch) | |
tree | 92281de136b9fa1a798a8eb9c92ad923b28c8193 /drivers/iio/inkern.c | |
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/inkern.c')
-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 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) { |