auxdisplay: Extract character line display core support
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 19 Oct 2021 14:45:05 +0000 (16:45 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 21 Oct 2021 21:36:28 +0000 (23:36 +0200)
commit7e76aece6f036cb7ada4858d6aa73825bfe22983
tree13881916dc8ef039500e4661e063c037a80ffc9d
parent12a19324ebd9edc08edc0d7ff27a3662e1bb6e8c
auxdisplay: Extract character line display core support

Extract the character line display core support from the simple ASCII
LCD driver for the MIPS Boston, Malta & SEAD3 development boards into
its own subdriver, so it can be reused for other displays.

As this moves the "message" device attribute in sysfs in a "linedisp.N"
subdirectory, a symlink is added to preserve backwards compatibility.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/auxdisplay/Kconfig
drivers/auxdisplay/Makefile
drivers/auxdisplay/img-ascii-lcd.c
drivers/auxdisplay/line-display.c [new file with mode: 0644]
drivers/auxdisplay/line-display.h [new file with mode: 0644]