commit | 60bbd9d411e32328dbecaff9ec5dfab29b546aba | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Sat Sep 19 20:03:01 2020 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Sat Sep 26 21:56:43 2020 +0200 |
tree | e1420c97336427a8bebc266b08655d8731887775 | |
parent | 5c0d20a968ae878ccdb2a42a0438610cf02cff13 [diff] |
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>