
6 Dec
2018
6 Dec
'18
12:10 a.m.
We should not have exported functions in a driver. The i8042_disable() function is used to disable the keyboard. Provide a remove() method instead, which is the standard way of disabling a device.
We could potentially add a method to flush input but that does not seem necessary.
Signed-off-by: Simon Glass sjg@chromium.org ---
drivers/input/i8042.c | 35 ++++++++++++++++++++--------------- include/i8042.h | 15 --------------- 2 files changed, 20 insertions(+), 30 deletions(-)
Applied to u-boot-dm/master, thanks!