auxdisplay: img-ascii-lcd: Convert device attribute to sysfs_emit()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 19 Oct 2021 14:45:04 +0000 (16:45 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 21 Oct 2021 21:36:28 +0000 (23:36 +0200)
commit12a19324ebd9edc08edc0d7ff27a3662e1bb6e8c
tree99ad26960df33a05165a78c58fe8897994bb99e2
parent7b88e5530f4d9d636b33d776b753a52169cc5b42
auxdisplay: img-ascii-lcd: Convert device attribute to sysfs_emit()

Convert the "message" device attribute from sprintf() to sysfs_emit(),
as the latter is aware of the PAGE_SIZE buffer.

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