projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271bd2c
)
staging: iio: tsl2x7x: fix alignment of break statements
author
Brian Masney
<
[email protected]
>
Thu, 19 Oct 2017 20:06:30 +0000
(16:06 -0400)
committer
Jonathan Cameron
<
[email protected]
>
Sat, 21 Oct 2017 17:44:15 +0000
(18:44 +0100)
Correct the alignment of the break statements to match the alignment of
the rest of the code within the case statements.
Signed-off-by: Brian Masney <
[email protected]
>
Signed-off-by: Jonathan Cameron <
[email protected]
>
drivers/staging/iio/light/tsl2x7x.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/light/tsl2x7x.c
b/drivers/staging/iio/light/tsl2x7x.c
index bb9fb60509cfca4f34936de5f4fde0f65d55aebf..f12ab1239a46f23741c16e5770a76d2c9c192903 100644
(file)
--- a/
drivers/staging/iio/light/tsl2x7x.c
+++ b/
drivers/staging/iio/light/tsl2x7x.c
@@
-466,7
+466,7
@@
static int tsl2x7x_get_prox(struct iio_dev *indio_dev)
case tmd2771:
if (!(ret & TSL2X7X_STA_ADC_VALID))
goto prox_poll_err;
- break;
+
break;
case tsl2572:
case tsl2672:
case tmd2672:
@@
-474,7
+474,7
@@
static int tsl2x7x_get_prox(struct iio_dev *indio_dev)
case tmd2772:
if (!(ret & TSL2X7X_STA_PRX_VALID))
goto prox_poll_err;
- break;
+
break;
}
for (i = 0; i < 2; i++) {