]> www.infradead.org Git - users/jedix/linux-maple.git/commit
auxdisplay: hd44780: Fix an API misuse in hd44780.c
authorHaoxiang Li <haoxiang_li2024@163.com>
Mon, 24 Feb 2025 10:15:27 +0000 (18:15 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Feb 2025 13:39:14 +0000 (15:39 +0200)
commit9b98a7d2e5f4e2beeff88f6571da0cdc5883c7fb
treef309084a835a290362ec29494e8a8fc0b4c4abd8
parentfce85f3da08b76c1b052f53a9f6f9c40a8a10660
auxdisplay: hd44780: Fix an API misuse in hd44780.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.

Fixes: 718e05ed92ec ("auxdisplay: Introduce hd44780_common.[ch]")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/auxdisplay/hd44780.c