]> www.infradead.org Git - users/jedix/linux-maple.git/commit
auxdisplay: panel: Fix an API misuse in panel.c
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Feb 2025 12:36:25 +0000 (14:36 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Feb 2025 13:46:55 +0000 (15:46 +0200)
commit72e1c440c848624ad4cfac93d69d8a999a20355b
tree0e5be8796504a64e6992a1ce35eae3f285aa6ed8
parent9b98a7d2e5f4e2beeff88f6571da0cdc5883c7fb
auxdisplay: panel: Fix an API misuse in panel.c

Variable allocated by charlcd_alloc() should be released
by charlcd_free(). The following patch changed kfree() to
charlcd_free() to fix an API misuse.

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: 718e05ed92ec ("auxdisplay: Introduce hd44780_common.[ch]")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/auxdisplay/panel.c