iio: inkern: add a missing space before if
authorSlawomir Stepien <sst@poczta.fm>
Thu, 14 Apr 2016 19:36:34 +0000 (21:36 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 16 Apr 2016 12:39:22 +0000 (13:39 +0100)
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>
drivers/iio/inkern.c

index 734a0042de0cb4265ee3145ee48f22a19b8b50af..2fc7928f401df4f9ea8e6ca2fe9deee6c8fcb142 100644 (file)
@@ -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) {