auxdisplay: Move char redefine code to hd44780_common
authorLars Poeschel <poeschel@lemonage.de>
Tue, 3 Nov 2020 09:58:20 +0000 (10:58 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 4 Nov 2020 10:04:04 +0000 (11:04 +0100)
commit339acb082987a6b0aa7c67a5a77b29f6c81962f6
tree82479df566aa68da55d9bf42427963cd27b2ed9d
parent8a86270ef0ea5ebc37c9a1223589c1d45c7e07de
auxdisplay: Move char redefine code to hd44780_common

Take the code to redefine characters out of charlcd and move it to
hd44780_common, as this is hd44780 specific.
There is now a function hd44780_common_redefine_char that drivers use
and charlcd calls it through its ops function pointer.

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