auxdisplay: linedisp: Provide struct linedisp_ops for future extension
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Feb 2024 17:01:41 +0000 (19:01 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 15 Feb 2024 12:30:15 +0000 (14:30 +0200)
commit70fb97c0611ed76be5b44cbd3593d1c0b731321e
tree7edf051b2412aa2e9d96ee5abffea0a84334615d
parentfe5bd82f5941e44f31aec72f5b29a3253bbebe11
auxdisplay: linedisp: Provide struct linedisp_ops for future extension

Currently the line display library doesn't scale in case we want to
provide more operations. Prepare the library to take a newly created
struct linedisp_ops that scales.

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/auxdisplay/ht16k33.c
drivers/auxdisplay/img-ascii-lcd.c
drivers/auxdisplay/line-display.c
drivers/auxdisplay/line-display.h