auxdisplay: linedisp: Allocate buffer for the string
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Feb 2024 16:58:01 +0000 (18:58 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 26 Feb 2024 16:02:19 +0000 (18:02 +0200)
commit4ce026d5f4ccb89a493b7c57d87d53a3ccb0be59
treec56d57ae8f08f3a0ca23de348ac9ddef0b255e1a
parent34ddc83dc72030ded90b5ff038cca67354ea8d34
auxdisplay: linedisp: Allocate buffer for the string

Always allocate a buffer for the currently displayed characters.
It makes the line display API simpler.

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