summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-hp6xx.c
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-03-06 06:19:45 +0100
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2017-03-08 21:10:02 +0100
commit7ea79ae86c28e729d51fa5703b093d27cca25217 (patch)
tree5da0a6911c9e78b00c152feb6170450f56cd63a0 /drivers/leds/leds-hp6xx.c
parent442c609830e98919faa78b797e9b89c53bab9cbf (diff)
downloadtalos-obmc-linux-7ea79ae86c28e729d51fa5703b093d27cca25217.tar.gz
talos-obmc-linux-7ea79ae86c28e729d51fa5703b093d27cca25217.zip
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/leds/leds-hp6xx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud