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)
commit165be50f5ad128e0b87bddf8a12dcafd3c8ba7f4
tree9a4e9192ff72909981102f1a1c4ab2073450eb51
parenteafb4a59dbb90a63c9676f16ffa1e099ee26ec28
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