diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-03-06 06:19:45 +0100 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-03-08 21:10:02 +0100 |
commit | 7ea79ae86c28e729d51fa5703b093d27cca25217 (patch) | |
tree | 5da0a6911c9e78b00c152feb6170450f56cd63a0 /drivers/sbus | |
parent | 442c609830e98919faa78b797e9b89c53bab9cbf (diff) | |
download | op-kernel-dev-7ea79ae86c28e729d51fa5703b093d27cca25217.zip op-kernel-dev-7ea79ae86c28e729d51fa5703b093d27cca25217.tar.gz |
leds: gpio: use OF variant of LED registering function
In leds-gpio we support LEDs specified in DT so we should use
(devm_)of_led_classdev_register. This allows passing DT node as argument
for use by the LED subsystem.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions