Skip to content
Commit 2f0d1417 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Benjamin Cabé
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 62c1fb20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment