commit | ddae9fcddc48d1e624c941148d0df5a4fc7d7d5c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Apr 10 11:34:54 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Apr 14 19:38:57 2017 -0600 |
tree | 59af471a5420bfd9ac4936bac0e3bccb37d72e4c | |
parent | 56e19871dc2a05aa5508ea51af35df59bbdb6cf5 [diff] |
dm: led: Adjust the LED uclass At present this is very simple, supporting only on and off. We want to also support toggling and blinking. As a first step, change the name of the main method and use an enum to indicate the state. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ziping Chen <techping.chan@gmail.com>