auxdisplay: Move ifwidth to struct hd44780_common
authorLars Poeschel <poeschel@lemonage.de>
Tue, 3 Nov 2020 09:58:07 +0000 (10:58 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 4 Nov 2020 10:04:02 +0000 (11:04 +0100)
commit3fc04dd7eb77b54228a17753ec01128417433e46
treebb13aec4f2c3fcc2b72a55ca97738cf2f4aa39a9
parent2545c1c948a6a765f1a0e820c7598138b36f67ef
auxdisplay: Move ifwidth to struct hd44780_common

Move struct charlcd member ifwidth to our new struct hd44780_common.
ifwidth is hd44780 device specific and is used by two drivers at the
moment, so we move it to a common place, where both can use this.

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