auxdisplay: add home to charlcd_ops
authorLars Poeschel <poeschel@lemonage.de>
Tue, 3 Nov 2020 09:58:13 +0000 (10:58 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 4 Nov 2020 10:04:03 +0000 (11:04 +0100)
commit88645a86e3420cddfe5bb9cd8d7c15aff8f54b46
tree685137731ca062ddbfa71413bd8db9d6c750e3a0
parentd3a2fb810f273b7a2c393d4de28ae91a3f76985d
auxdisplay: add home to charlcd_ops

This adds a home function to the charlcd_ops struct and offer an
implementation for hd44780_common. This implementation is used by our
two hd44780 drivers. This is to make charlcd device independent.

Reviewed-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/auxdisplay/charlcd.c
drivers/auxdisplay/charlcd.h
drivers/auxdisplay/hd44780.c
drivers/auxdisplay/hd44780_common.c
drivers/auxdisplay/hd44780_common.h
drivers/auxdisplay/panel.c