kernel: fix of_node handling in LEDs core code
authorRafał Miłecki <rafal@milecki.pl>
Wed, 8 Mar 2017 11:38:43 +0000 (12:38 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 21 Aug 2017 14:45:30 +0000 (16:45 +0200)
commit86722ab0bba39a540e1690745fbb574240b3fa12
tree397eb88513b44f5d095da05f13476af946f2fd69
parent4a1b87aba448fae648bf17830379fde11060927b
kernel: fix of_node handling in LEDs core code

This backports fixes for setting of_node and making it possible to read
extra info from DT. This was partially fixed by:
[PATCH] leds: leds-gpio: Set of_node for created LED devices
but it didn't work during initialization.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/generic/patches-4.4/085-0002-leds-gpio-introduce-gpio_blink_set_t.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/085-0003-leds-gpio-switch-to-managed-version-of-led_classdev_.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/085-0004-leds-core-add-OF-variants-of-LED-registering-functio.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/085-0005-leds-gpio-use-OF-variant-of-LED-registering-function.patch [new file with mode: 0644]