Explorar el Código

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>
Slawomir Stepien hace 9 años
padre
commit
ebe1680693
Se han modificado 1 ficheros con 6 adiciones y 2 borrados
  1. 6 2
      drivers/iio/light/apds9960.c

+ 6 - 2
drivers/iio/light/apds9960.c

@@ -321,8 +321,12 @@ static const struct iio_chan_spec apds9960_channels[] = {
 };
 };
 
 
 /* integration time in us */
 /* 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 */
 /* gain mapping */
 static const int apds9960_pxs_gain_map[] = {1, 2, 4, 8};
 static const int apds9960_pxs_gain_map[] = {1, 2, 4, 8};