diff options
author | 2023-01-20 12:45:16 +0100 | |
---|---|---|
committer | 2023-01-27 11:06:42 +0000 | |
commit | 537bdca2a085f524b74ac2aa83822d081c585ca6 (patch) | |
tree | 0ca331e0943d2601b3f6f2f47c4328305675343f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | leds: led-class: Add led_module_get() helper (diff) | |
download | wireguard-linux-537bdca2a085f524b74ac2aa83822d081c585ca6.tar.xz wireguard-linux-537bdca2a085f524b74ac2aa83822d081c585ca6.zip |
leds: led-class: Add __devm_led_get() helper
Add a __devm_led_get() helper which registers a passed in led_classdev
with devm for unregistration.
This is a preparation patch for adding a generic (non devicetree specific)
devm_led_get() function.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230120114524.408368-4-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions