summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-08-27 14:52:05 -0700
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-09-01 13:33:27 +0200
commit070a0eed7580a976b397dce981db9746df714327 (patch)
tree1f1833d75533d88e2672b999e52dfefd07509801 /include
parent68bfcf6debd72121758d6e0fbf75f506126d7b9a (diff)
downloadlinux-stable-070a0eed7580a976b397dce981db9746df714327.tar.gz
linux-stable-070a0eed7580a976b397dce981db9746df714327.tar.bz2
linux-stable-070a0eed7580a976b397dce981db9746df714327.zip
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 <tony@atomide.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions