]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iio: light: rpr0521 whitespace fixes
authorMikko Koivunen <mikko.koivunen@fi.rohmeurope.com>
Thu, 18 May 2017 12:12:53 +0000 (15:12 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 May 2017 14:06:13 +0000 (15:06 +0100)
Just whitespace change, no functional changes.

Signed-off-by: Mikko Koivunen <mikko.koivunen@fi.rohmeurope.com>
Acked-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/rpr0521.c

index 38095d79a87432087d82fd3756b457c35a6d5d23..52c559d9e09b844a14828e56990e805bf95ec1a2 100644 (file)
@@ -371,6 +371,7 @@ static int rpr0521_read_raw(struct iio_dev *indio_dev,
                *val = le16_to_cpu(raw_data);
 
                return IIO_VAL_INT;
+
        case IIO_CHAN_INFO_SCALE:
                mutex_lock(&data->lock);
                ret = rpr0521_get_gain(data, chan->address, val, val2);
@@ -379,6 +380,7 @@ static int rpr0521_read_raw(struct iio_dev *indio_dev,
                        return ret;
 
                return IIO_VAL_INT_PLUS_MICRO;
+
        default:
                return -EINVAL;
        }
@@ -398,6 +400,7 @@ static int rpr0521_write_raw(struct iio_dev *indio_dev,
                mutex_unlock(&data->lock);
 
                return ret;
+
        default:
                return -EINVAL;
        }