From: Slawomir Stepien Date: Thu, 14 Apr 2016 19:36:34 +0000 (+0200) Subject: iio: inkern: add a missing space before if X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc0b81704f0458c20793e82a3c094a215833dcfe;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jonathan Cameron --- 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) {