• Marek Behún's avatar
    leds: ns2: use devres LED registering function · 40f97281
    Marek Behún authored
    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: default avatarMarek 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: default avatarPavel Machek <pavel@ucw.cz>
    40f97281
leds-ns2.c 8.81 KB