iio: light: tcs3414: Fix misindented lines
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Thu, 15 Jan 2015 22:25:02 +0000 (00:25 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:53:46 +0000 (22:53 +0000)
Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/tcs3414.c

index a9e449b0be0cc43e360ec59211abcb2253899c3d..71c2bde275aac65ef8b7eb2f756fb05acb4e1958 100644 (file)
@@ -149,8 +149,8 @@ static int tcs3414_read_raw(struct iio_dev *indio_dev,
                *val = ret;
                return IIO_VAL_INT;
        case IIO_CHAN_INFO_SCALE:
-       i = (data->gain & TCS3414_GAIN_MASK) >> TCS3414_GAIN_SHIFT;
-       *val = tcs3414_scales[i][0];
+               i = (data->gain & TCS3414_GAIN_MASK) >> TCS3414_GAIN_SHIFT;
+               *val = tcs3414_scales[i][0];
                *val2 = tcs3414_scales[i][1];
                return IIO_VAL_INT_PLUS_MICRO;
        case IIO_CHAN_INFO_INT_TIME: