diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2021-05-10 12:50:18 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2021-05-28 11:59:59 +0200 |
commit | 0ac40af86077982a5346dbc9655172d2775d6b08 (patch) | |
tree | a48d130f8b9aefb0afdda846a59295a6c11adc95 /drivers/leds/leds-el15203000.c | |
parent | db30c91add87fb49a63798e204c467e611dc2718 (diff) |
leds: class: The -ENOTSUPP should never be seen by user space
Drop the bogus error code and let of_led_get() to take care about absent
of_node.
Fixes: e389240ad992 ("leds: Add managed API to get a LED from a device driver")
Cc: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-el15203000.c')
0 files changed, 0 insertions, 0 deletions