diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2020-09-20 03:24:54 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-30 19:53:27 +0300 |
commit | 39118499a62623d32c67ffd93d94ed5f27bfc736 (patch) | |
tree | 86597d8a28b07738b4533d101f2932e1ddd11bc5 /fs | |
parent | a238098251b690b7408f26d7c5b4c6ba44d7084c (diff) | |
download | linux-39118499a62623d32c67ffd93d94ed5f27bfc736.tar.xz |
leds: pca963x: cosmetic: use helper variables, better indentation
Use helper variables: instead of writing &client->dev at many places,
write only dev. The same with pca963x->chip->chipdef,
pca963x->chip->client).
Use helper variable u8 val for i2c_smbus_write_byte_data, for better
indentation.
Indent better on various places.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Cc: Peter Meerwald <p.meerwald@bct-electronic.com>
Cc: Ricardo Ribalda <ribalda@kernel.org>
Cc: Zahari Petkov <zahari@balena.io>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions