staging: iio: isl29028: made alignment of variables in struct isl29028_chip consistent
authorBrian Masney <masneyb@onstation.org>
Tue, 17 Jan 2017 09:24:48 +0000 (04:24 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Jan 2017 13:21:32 +0000 (13:21 +0000)
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 <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/isl29028.c

index dcec32dc97654021960dc6e89e7b93e3fa3dd9e2..a13c8dbbec2324683cef46e6d959a74aa90519e4 100644 (file)
@@ -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;
 };