Files
linux/drivers/video/fbdev/omap
Christophe JAILLET 2451a285ee fbdev: omapfb: Use sysfs_emit_at() to simplify code
This file already uses sysfs_emit(). So be consistent and also use
sysfs_emit_at().

Moreover, size is always < PAGE_SIZE because scnprintf() (and now
sysfs_emit_at()) returns the number of characters written not including the
trailing '\0'. So some tests can be removed.

This slightly simplifies the code and makes it more readable.

Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
2024-08-30 18:42:38 +02:00
..
2023-08-04 15:54:37 +02:00
2023-01-12 10:53:11 +01:00