[led] propagate error from set_led() to the caller
Do not lose error condition by always returning 0 from set_led.
None of the calls to set_led checks for return value at the moment so
none of API consumers in base is affected.
Submitted by: Bertrand Petit <email@example.com>
MFC after: 1 week