commit | 7ea79ae86c28e729d51fa5703b093d27cca25217 | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <rafal@milecki.pl> | Mon Mar 06 06:19:45 2017 +0100 |
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | Wed Mar 08 21:10:02 2017 +0100 |
tree | 5da0a6911c9e78b00c152feb6170450f56cd63a0 | |
parent | 442c609830e98919faa78b797e9b89c53bab9cbf [diff] |
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>