auxdisplay: linedisp: Use kmemdup_nul() helper
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 19 Oct 2021 14:45:06 +0000 (16:45 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 21 Oct 2021 21:36:29 +0000 (23:36 +0200)
commit364f2c392f2b38ba3c52933f11a8dbee71f28864
tree61765b33e4ac7a3e0cf851256459f789fa1413b5
parent7e76aece6f036cb7ada4858d6aa73825bfe22983
auxdisplay: linedisp: Use kmemdup_nul() helper

Use the existing kmemdup_nul() helper instead of open-coding the same
operation.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/auxdisplay/line-display.c