]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: iio: isl29018: Drop newlines
authorPeter Meerwald-Stadler <pmeerw@pmeerw.net>
Tue, 5 Jul 2016 11:55:38 +0000 (13:55 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 10 Jul 2016 13:48:38 +0000 (14:48 +0100)
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/isl29018.c

index 875007ff25a7b8b7bfc1925c533cb950ee8445e0..9b3ca0ee253575236b7182be23a0cb0ddb9cbada 100644 (file)
@@ -215,7 +215,6 @@ static int isl29018_read_lux(struct isl29018_chip *chip, int *lux)
 
        lux_data = isl29018_read_sensor_input(chip,
                                              ISL29018_CMD1_OPMODE_ALS_ONCE);
-
        if (lux_data < 0)
                return lux_data;
 
@@ -233,7 +232,6 @@ static int isl29018_read_ir(struct isl29018_chip *chip, int *ir)
 
        ir_data = isl29018_read_sensor_input(chip,
                                             ISL29018_CMD1_OPMODE_IR_ONCE);
-
        if (ir_data < 0)
                return ir_data;
 
@@ -271,7 +269,6 @@ static int isl29018_read_proximity_ir(struct isl29018_chip *chip, int scheme,
 
        ir_data = isl29018_read_sensor_input(chip,
                                             ISL29018_CMD1_OPMODE_IR_ONCE);
-
        if (ir_data < 0)
                return ir_data;