diff options
author | Linus Walleij <[email protected]> | 2020-06-27 00:40:11 +0200 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2020-07-12 09:52:22 +0200 |
commit | ac219bf3c9bdf9200767e8c98a56ad42c75e5cd5 (patch) | |
tree | 8ce6b5b074223c73c36d92ebe73a8aa7947dac34 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e190f57df3c7e7713687905c14e72fbcbd81c5e4 (diff) |
leds: lp55xx: Convert to use GPIO descriptors
The LP55xx driver is already using the of_gpio() functions to
pick a global GPIO number for "enable" from the device tree and
request the line. Simplify it by just using a GPIO descriptor.
Make sure to keep the enable GPIO line optional, change the
naming from "lp5523_enable" to "LP55xx enable" to reflect that
this is used on all LP55xx LED drivers.
Cc: Milo Kim <[email protected]>
Signed-off-by: Linus Walleij <[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