diff options
author | 2024-06-27 00:15:11 +0200 | |
---|---|---|
committer | 2024-07-04 16:44:45 +0100 | |
commit | 6f2fdde9096f3c4d35a7711c91a78c086be66aed (patch) | |
tree | 1f7397e506eb173b3d06f6d227f20e354448e72e /scripts/generate_rust_analyzer.py | |
parent | Revert "leds: led-core: Fix refcount leak in of_led_get()" (diff) | |
download | linux-rng-6f2fdde9096f3c4d35a7711c91a78c086be66aed.tar.xz linux-rng-6f2fdde9096f3c4d35a7711c91a78c086be66aed.zip |
leds: leds-lp5569: Convert to sysfs_emit API
Convert sprintf to the much safer sysfs_emit API to handle output for
sysfs.
Also better handle situation where on the same chip there may be LED
open and shorted at the same time.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20240626221520.2846-1-ansuelsmth@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions