]> www.infradead.org Git - users/jedix/linux-maple.git/commit
auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common"
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Feb 2025 17:27:38 +0000 (19:27 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Mar 2025 16:02:31 +0000 (18:02 +0200)
commit09965a142078080fe7807bab0f6f1890cb5987a4
treedf347fe73eba57c25847fc6f9305a8ce9ca97286
parent72e1c440c848624ad4cfac93d69d8a999a20355b
auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common"

Commit 2545c1c948a6 ("auxdisplay: Move hwidth and bwidth to struct
hd44780_common") makes charlcd_alloc() argument-less effectively dropping
the single allocation for the struct charlcd_priv object along with
the driver specific one. Restore that behaviour here.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/auxdisplay/charlcd.c
drivers/auxdisplay/charlcd.h
drivers/auxdisplay/hd44780.c
drivers/auxdisplay/lcd2s.c
drivers/auxdisplay/panel.c