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>
Wed, 8 Mar 2017 12:06:16 +0000 (13:06 +0100)
commit318f2d61016e69206ab9ec63017eb47e246c0b75
tree8d9b0f889c8994bc50fb5a9265033b659ca27b14
parent4124847772604773d05fbc8bd5d84f7c7b80edca
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]
target/linux/generic/patches-4.9/080-0001-leds-core-add-OF-variants-of-LED-registering-functio.patch [new file with mode: 0644]
target/linux/generic/patches-4.9/080-0002-leds-gpio-use-OF-variant-of-LED-registering-function.patch [new file with mode: 0644]