]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/input/i8042.c
i8042: Adjust kbd_reset() to collect all failures
authorSimon Glass <sjg@chromium.org>
Mon, 19 Oct 2015 03:17:20 +0000 (21:17 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:40 +0000 (20:13 -0700)
commit4f087bace2dab1ceb42077a044c918e22691a172
treeeff13b8b418c7b7707128282868bd7d6d7babe3a
parent31d38ee66dfad4284866267ff0651fa0614dad3c
i8042: Adjust kbd_reset() to collect all failures

Rather than lots of 'return' statements, use goto to a single return.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/input/i8042.c