Registering a LED can fail. If someone calls led_set for such a LED no set function will be there. Fail gracefully in this case. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
||
---|---|---|
.. | ||
core.c | ||
Kconfig | ||
led-gpio.c | ||
led-triggers.c | ||
Makefile |
Registering a LED can fail. If someone calls led_set for such a LED no set function will be there. Fail gracefully in this case. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
||
---|---|---|
.. | ||
core.c | ||
Kconfig | ||
led-gpio.c | ||
led-triggers.c | ||
Makefile |