auxdisplay: Move addr out of charlcd_priv
authorLars Poeschel <poeschel@lemonage.de>
Tue, 3 Nov 2020 09:58:10 +0000 (10:58 +0100)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 4 Nov 2020 10:04:03 +0000 (11:04 +0100)
commit11588b59cf620305e78523f57918b986b5e32214
treeabf65dd82a7fd1a8ab3b0c45cff4e99edad09657
parent2c6a82f2342fadfcbd5dd92656e662c326f7a40a
auxdisplay: Move addr out of charlcd_priv

Move out the struct addr from struct charlcd_priv into the less private
struct charlcd. This member is used to pass position information. The
individual drivers need to be able to read this information, so we move
this out of charlcd_priv to charlcd structure.

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