auxdisplay: linedisp: Free allocated resources in ->release()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Feb 2024 17:01:35 +0000 (19:01 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 15 Feb 2024 11:24:54 +0000 (13:24 +0200)
commit2327960f0c5ecd7a285e69284b6ec3fdbd2757be
treec9dadde749aa52f3abcac1c0bb3481494be3eb71
parenta8fc3d587fa6de33c2ade327bd9d4fcbb16148f0
auxdisplay: linedisp: Free allocated resources in ->release()

While there is no issue currently with the resources allocation,
the code may still be made more robust by deallocating message
in the ->release() callback.

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/line-display.c