mirror-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 <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2024-08-30 18:42:38 +02:00
..
Kconfig fbdev/omapfb: Use fbdev I/O helpers 2023-08-04 15:54:37 +02:00
Makefile fbdev: omapfb: remove omap1 osk driver 2023-03-14 18:49:47 +01:00
hwa742.c
lcd_ams_delta.c fbdev: omap: lcd_ams_delta: Constify lcd_ops 2024-05-03 10:45:50 +01:00
lcd_dma.c
lcd_dma.h
lcd_mipid.c fbdev fixes for 6.5-rc1: 2023-06-29 10:20:38 -07:00
lcd_palmte.c
lcdc.c ARM: omap1: remove dead code 2023-01-12 10:53:11 +01:00
lcdc.h
omapfb.h
omapfb_main.c fbdev: omapfb: Use sysfs_emit_at() to simplify code 2024-08-30 18:42:38 +02:00
sossi.c