mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
2451a285ee
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> |
||
---|---|---|
.. | ||
backlight | ||
console | ||
fbdev | ||
logo | ||
aperture.c | ||
cmdline.c | ||
display_timing.c | ||
hdmi.c | ||
Kconfig | ||
Makefile | ||
nomodeset.c | ||
of_display_timing.c | ||
of_videomode.c | ||
screen_info_generic.c | ||
screen_info_pci.c | ||
sticore.c | ||
vgastate.c | ||
videomode.c |