diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2020-09-18 00:32:55 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-26 21:56:39 +0200 |
commit | 05dec742bd20e8284e57559d53d38cffc2054fee (patch) | |
tree | 21182ecd36d75c20e9a4b80be28328e6ef07bdf6 /drivers/leds/leds-mc13783.c | |
parent | leds: various: use dev_of_node(dev) instead of dev->of_node (diff) | |
download | linux-05dec742bd20e8284e57559d53d38cffc2054fee.tar.xz linux-05dec742bd20e8284e57559d53d38cffc2054fee.zip |
leds: lt3593: do not rewrite .of_node of new LED device to wrong value
The devm_led_classdev_register_ext is given init_data with fwnode set,
so the LED core sets .of_node of the new LED classdev correctly.
Do not rewrite this value to parent of_node.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Cc: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-mc13783.c')
0 files changed, 0 insertions, 0 deletions