diff options
author | Christian Marangi <[email protected]> | 2024-06-26 18:00:15 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-06-26 17:08:31 +0100 |
commit | c63580b27a2c638cbae2fc26484b0bf29f303134 (patch) | |
tree | 2c08eae93689cff746021a5f6c6a33cba8201772 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a3df1906fb9aa9ff45149e0a3c6434b2cef4f6e7 (diff) |
leds: leds-lp55xx: Generalize led_brightness function
Generalize led_brightness function as the implementation is the same for
most of the lp55xx based LED driver.
Introduce a new option in device_config, reg_led_pwm_base since the reg
value is not the same for every LED chip.
Suggested-by: Lee Jones <[email protected]>
Signed-off-by: Christian Marangi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions