]> git.baikalelectronics.ru Git - uboot.git/commit
input: i8042: Use remove() instead of exported functions
authorSimon Glass <sjg@chromium.org>
Sat, 24 Nov 2018 04:29:38 +0000 (21:29 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:01:35 +0000 (06:01 -0700)
commit247920fde88646a13d506f1c6b5ec94e861d903e
tree9a4e9192ff72909981102f1a1c4ab2073450eb51
parent39ad2d370c97340049f8ba7e91611772184c3e14
input: i8042: Use remove() instead of exported functions

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
include/i8042.h