diff options
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> | 2016-07-05 11:55:38 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-07-10 13:48:38 (GMT) |
commit | c833c6926a0af75dec48b6a3974278bef44fd49b (patch) | |
tree | 0e9533f5df5d11aef05b19323e5889a8cd8bd8eb /drivers/staging/iio/light/isl29018.c | |
parent | ab5b9492c0f43511ada25b3209d5645415858967 (diff) | |
download | linux-c833c6926a0af75dec48b6a3974278bef44fd49b.tar.xz |
staging: iio: isl29018: Drop newlines
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/light/isl29018.c')
-rw-r--r-- | drivers/staging/iio/light/isl29018.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c index 875007f..9b3ca0e 100644 --- a/drivers/staging/iio/light/isl29018.c +++ b/drivers/staging/iio/light/isl29018.c @@ -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; |