commit | c5d257f93f1a20a14ee0e9a236e6160b9d2925aa | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 18 21:17:21 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Nov 19 20:13:40 2015 -0700 |
tree | b9f5180b9ef6a16a3779cc324bccb6d6ebc46908 | |
parent | 4f087bace2dab1ceb42077a044c918e22691a172 [diff] |
i8042: Adjust keyboard init to assume success Modify i8042_kbd_init() so that the normal pass is sucessful init and failure exits early. This will make the code easier to extend and is easier to read. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>