summaryrefslogtreecommitdiff
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2017-01-17 04:24:48 -0500
committerJonathan Cameron <jic23@kernel.org>2017-01-22 13:21:32 +0000
commit6db2fa0ab5d9b0b431617a3711c7990e3084c561 (patch)
tree00ed287dd940444d0bd7ae06e7a9ba3f391086f3 /drivers/staging/iio
parentb44b1f3193ff8f442c844035815d7b2ebc26366b (diff)
staging: iio: isl29028: made alignment of variables in struct isl29028_chip consistent
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>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/light/isl29028.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c
index dcec32dc9765..a13c8dbbec23 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;
};