diff options
author | Marek BehĂșn <[email protected]> | 2020-09-20 02:24:54 +0200 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2020-09-30 18:53:27 +0200 |
commit | 39118499a62623d32c67ffd93d94ed5f27bfc736 (patch) | |
tree | 86597d8a28b07738b4533d101f2932e1ddd11bc5 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a238098251b690b7408f26d7c5b4c6ba44d7084c (diff) |
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 <[email protected]>
Cc: Peter Meerwald <[email protected]>
Cc: Ricardo Ribalda <[email protected]>
Cc: Zahari Petkov <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions