diff options
author | Tony Lindgren <[email protected]> | 2019-08-27 14:52:05 -0700 |
---|---|---|
committer | Jacek Anaszewski <[email protected]> | 2019-09-01 13:33:27 +0200 |
commit | 070a0eed7580a976b397dce981db9746df714327 (patch) | |
tree | 1f1833d75533d88e2672b999e52dfefd07509801 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 68bfcf6debd72121758d6e0fbf75f506126d7b9a (diff) |
leds: lm3532: Avoid potentially unpaired regulator calls
We may currently get unpaired regulator calls when configuring the LED
brightness via sysfs in case of regulator calls producing errors. Let's
fix this by maintaining local state for enabled.
Signed-off-by: Tony Lindgren <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Jacek Anaszewski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions