summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/apds9960.c
diff options
context:
space:
mode:
authorSlawomir Stepien <sst@poczta.fm>2016-04-14 21:36:33 +0200
committerJonathan Cameron <jic23@kernel.org>2016-04-16 14:39:21 +0200
commitebe168069324b0a182f74bef593240840e4da97e (patch)
tree5bad82457acdb0bf4a25932b80b9a0865aaef906 /drivers/iio/light/apds9960.c
parentiio: imu: Add initial support for Bosch BMI160 (diff)
downloadlinux-ebe168069324b0a182f74bef593240840e4da97e.tar.xz
linux-ebe168069324b0a182f74bef593240840e4da97e.zip
iio: light apds9960: fix wrong use of brace
This fixes the error reported by checkpatch.pl: ERROR: that open brace { should be on the previous line Signed-off-by: Slawomir Stepien <sst@poczta.fm> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light/apds9960.c')
-rw-r--r--drivers/iio/light/apds9960.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c
index f6a07dc32ae4..47fcd5ad4ff2 100644
--- a/drivers/iio/light/apds9960.c
+++ b/drivers/iio/light/apds9960.c
@@ -321,8 +321,12 @@ static const struct iio_chan_spec apds9960_channels[] = {
};
/* integration time in us */
-static const int apds9960_int_time[][2] =
- { {28000, 246}, {100000, 219}, {200000, 182}, {700000, 0} };
+static const int apds9960_int_time[][2] = {
+ { 28000, 246},
+ {100000, 219},
+ {200000, 182},
+ {700000, 0}
+};
/* gain mapping */
static const int apds9960_pxs_gain_map[] = {1, 2, 4, 8};