Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1535560
| From | Brian Masney <masneyb@onstation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 06/19] staging: iio: isl29028: made alignment of variables in struct isl29028_chip consistent |
| Date | 2016-12-04 03:30 +0100 |
| Message-ID | <sKuIV-194-13@gated-at.bofh.it> (permalink) |
| References | <sKuIV-194-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
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 d5b069e..fe8814b 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;
bool suspended;
};
--
2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 06/19] staging: iio: isl29028: made alignment of variables in struct isl29028_chip consistent Brian Masney <masneyb@onstation.org> - 2016-12-04 03:30 +0100
csiph-web