The alignment of the variables in the struct isl29028_chip is not
consistent. This changes all of the variables to use consistent
alignment to improve the code readability.

Signed-off-by: Brian Masney <masn...@onstation.org>
---
 drivers/staging/iio/light/isl29028.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/iio/light/isl29028.c 
b/drivers/staging/iio/light/isl29028.c
index 1de81f5..4cce663 100644
--- a/drivers/staging/iio/light/isl29028.c
+++ b/drivers/staging/iio/light/isl29028.c
@@ -67,13 +67,13 @@ enum isl29028_als_ir_mode {
 };
 
 struct isl29028_chip {
-       struct mutex            lock;
-       struct regmap           *regmap;
+       struct mutex                    lock;
+       struct regmap                   *regmap;
 
-       unsigned int            prox_sampling;
-       bool                    enable_prox;
+       unsigned int                    prox_sampling;
+       bool                            enable_prox;
 
-       int                     lux_scale;
+       int                             lux_scale;
        enum isl29028_als_ir_mode       als_ir_mode;
 };
 
-- 
2.9.3

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to