led: fallback from set_brightness to on/off and vice versa automatically
Change the on/off/set_brightness API to automatically use whatever
function is available, this allows dimmable drivers to not implement the
on/off wrapper and vice versa.
Signed-off-by:
Fabio Baltieri <fabiobaltieri@google.com>
Loading
Please sign in to comment