diff options
| author | Rong Zhang <i@rong.moe> | 2026-09-21 03:40:16 +0800 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-09-24 13:17:32 +0100 |
| commit | 7879d6277485697cf37eb3c1b89ce260d8c67e4f (patch) | |
| tree | 371b9d3efdc4c528fc13ad92e40c7d84a9d081bd /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6887f40dadb5a263de1d9e4b5517400c08089d35 (diff) | |
| download | linux-next-7879d6277485697cf37eb3c1b89ce260d8c67e4f.tar.gz linux-next-7879d6277485697cf37eb3c1b89ce260d8c67e4f.zip | |
leds: trigger: Move led_trigger_is_hw_controlled() to the right place
Currently led_trigger_is_hw_controlled() is placed at led-class.c, which
is not an right place as it falls into the triggers namespace and does
triggers stuff.
Move it into led-triggers.c, and split it into locked and unlocked
variant for convenience.
Fixes: b819dc7d8fb2 ("leds: core: Report ENODATA for brightness of hardware controlled LED")
Acked-by: Ike Panhc <ikepanhc@gmail.com>
Signed-off-by: Rong Zhang <i@rong.moe>
Link: https://patch.msgid.link/20260921-leds-trigger-hw-changed-v7-2-fe3cdb6dec51@rong.moe
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
