commit | 2915ad6e808c44f88e3195b03508c86df8caf038 | [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 | 4f58bbcc29c8be7d42c8a6c66652599f1c0a7147 [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>