summary refs log tree commit diff
path: root/drivers/leds/leds-sc27xx-bltc.c
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-09-19 20:03:01 +0200
committerPavel Machek <pavel@ucw.cz>2020-09-26 21:56:43 +0200
commit60bbd9d411e32328dbecaff9ec5dfab29b546aba (patch)
treee1420c97336427a8bebc266b08655d8731887775 /drivers/leds/leds-sc27xx-bltc.c
parent5c0d20a968ae878ccdb2a42a0438610cf02cff13 (diff)
downloadlinux-60bbd9d411e32328dbecaff9ec5dfab29b546aba.tar.gz
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-sc27xx-bltc.c')
0 files changed, 0 insertions, 0 deletions