summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lm3532.c
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-09-19 21:03:01 +0300
committerPavel Machek <pavel@ucw.cz>2020-09-26 22:56:43 +0300
commit60bbd9d411e32328dbecaff9ec5dfab29b546aba (patch)
treee1420c97336427a8bebc266b08655d8731887775 /drivers/leds/leds-lm3532.c
parent5c0d20a968ae878ccdb2a42a0438610cf02cff13 (diff)
downloadlinux-60bbd9d411e32328dbecaff9ec5dfab29b546aba.tar.xz
leds: lm36274: use devres LED registering function
Now that the potential use-after-free issue is resolved we can use devres for LED registration in this driver. By using devres version of LED registering function we can remove the .remove method from this driver. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Tested-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-lm3532.c')
0 files changed, 0 insertions, 0 deletions