commit | 6ca197725b9330bba357ba9e4f6c5a9ac362f4af | [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 | da01de9b8e5ddc0f4d7b2d1d08f4de6ac79ba29d [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>