[U-Boot] [PATCH 15/21] input: i8042: Use remove() instead of exported functions

sjg at google.com sjg at google.com
Wed Dec 5 23:10:47 UTC 2018


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 at 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!


More information about the U-Boot mailing list