diff options
author | 2025-04-07 13:35:54 -0500 | |
---|---|---|
committer | 2025-05-14 09:24:55 +0100 | |
commit | e0b95ba33c0f31ac91741921cc89986536595862 (patch) | |
tree | 87fe92ebe1bd4b4da37dc43b7211f43685b1f6f1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | leds: lp8860: Enable regulator using enable_optional helper (diff) | |
download | linux-rng-e0b95ba33c0f31ac91741921cc89986536595862.tar.xz linux-rng-e0b95ba33c0f31ac91741921cc89986536595862.zip |
leds: lp8860: Only unlock in lp8860_unlock_eeprom()
Locking is a single register write, so no need to have the unlock
function also lock. This removes the need to pass in the option
and reduces the nesting level in the function.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20250407183555.409687-5-afd@ti.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions