diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2020-09-18 00:33:24 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-26 21:56:41 +0200 |
commit | 40f97281ff0540d43d3d0343d74a8e96573ed227 (patch) | |
tree | 7df77cc74258b7d318f609ff4620e26305d0b80a /mm/mmap.c | |
parent | 6be2030dd752041fe35a948df78029aaec598b1e (diff) | |
download | linux-stable-40f97281ff0540d43d3d0343d74a8e96573ed227.tar.gz linux-stable-40f97281ff0540d43d3d0343d74a8e96573ed227.tar.bz2 linux-stable-40f97281ff0540d43d3d0343d74a8e96573ed227.zip |
leds: ns2: use devres LED registering function
By using devres version of LED registering function we can remove the
.remove method from this driver. The probe method also gets simpler.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Cc: Simon Guinot <sguinot@lacie.com>
Cc: Vincent Donnefort <vdonnefort@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions