linux/drivers/video/fbdev
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
..
aty
core - 875fa64577da ("mm/hugetlb_vmemmap: fix race with speculative PFN 2024-07-21 17:15:46 -07:00
geode video/nomodeset: Select nomodeset= parameter with CONFIG_VIDEO 2024-01-23 10:11:38 +01:00
i810
kyro fbdev: kyro: add missing MODULE_DESCRIPTION() macro 2024-06-13 23:10:41 +02:00
matrox fbdev: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-24 15:57:42 +02:00
mb862xx fbdev: mb862xxfb: Fix defined but not used error 2024-03-15 10:01:27 +01:00
mmp fbdev: mmp: Use devm_clk_get_enabled() helpers 2024-08-30 18:42:38 +02:00
nvidia
omap fbdev: omapfb: Use sysfs_emit_at() to simplify code 2024-08-30 18:42:38 +02:00
omap2 fbdev: omapfb: panel-sony-acx565akm: Simplify show_cabc_available_modes() 2024-08-30 18:42:38 +02:00
riva
savage fbdev: savage: Handle err return when savagefb_check_var failed 2024-04-25 12:04:18 +02:00
sis fbdev: sisfb: hide unused variables 2024-04-03 14:38:07 +02:00
via fbdev: viafb: Make I2C terminology more inclusive 2024-07-11 12:07:48 +02:00
68328fb.c
acornfb.c
acornfb.h
amifb.c fbdev: amifb: add missing MODULE_DESCRIPTION() macro 2024-06-18 14:04:03 +02:00
arcfb.c
arkfb.c fbcon: Increase maximum font width x height to 64 x 128 2024-03-16 08:29:48 +01:00
asiliantfb.c
atafb_iplan2p2.c
atafb_iplan2p4.c
atafb_iplan2p8.c
atafb_mfb.c
atafb_utils.h
atafb.c
atafb.h
atmel_lcdfb.c backlight: Remove fb_blank from struct backlight_properties 2024-03-28 10:16:26 +00:00
au1100fb.c
au1100fb.h
au1200fb.c fbdev: au1200fb: replace deprecated strncpy with strscpy 2024-04-25 11:56:48 +02:00
au1200fb.h
broadsheetfb.c
bt431.h
bt455.h
bw2.c
c2p_core.h
c2p_iplan2.c
c2p_planar.c fbdev: c2p_planar: add missing MODULE_DESCRIPTION() macro 2024-06-18 14:04:03 +02:00
c2p.h
carminefb_regs.h
carminefb.c
carminefb.h
cg3.c
cg6.c
cg14.c
chipsfb.c fbdev/chipsfb: Include <linux/backlight.h> 2024-03-07 13:33:34 +01:00
cirrusfb.c
clps711x-fb.c fbdev: clps711x: Constify lcd_ops 2024-05-03 10:45:40 +01:00
cobalt_lcdfb.c
controlfb.c
controlfb.h
cyber2000fb.c This cycle, I2C removes the currently unused CLASS_DDC support 2024-01-18 17:29:01 -08:00
cyber2000fb.h
da8xx-fb.c
dnfb.c
edid.h
efifb.c fbdev/efifb: Remove framebuffer relocation tracking 2024-02-14 10:09:21 +01:00
ep93xx-fb.c
ffb.c
fm2fb.c
fsl-diu-fb.c fbdev: fsl-diu-fb: replace deprecated strncpy with strscpy_pad 2024-04-25 11:53:26 +02:00
g364fb.c
gbefb.c
goldfishfb.c fbdev: goldfishfb: add missing MODULE_DESCRIPTION() macro 2024-06-13 23:10:41 +02:00
grvga.c
gxt4500.c
hecubafb.c
hgafb.c Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>" 2024-03-06 13:07:39 -08:00
hitfb.c
hpfb.c fbdev: hpfb: Fix an error handling path in hpfb_dio_probe() 2024-08-30 18:42:38 +02:00
hyperv_fb.c fbdev/hyperv_fb: Fix logic error for Gen2 VMs in hvfb_getmem() 2024-03-01 08:19:11 +00:00
i740_reg.h
i740fb.c fbdev: remove I2C_CLASS_DDC support 2024-01-18 21:10:41 +01:00
imsttfb.c
imxfb.c fbdev: imx: Constify lcd_ops 2024-05-03 10:45:46 +01:00
Kconfig fbdev fixes and cleanups for 6.10-rc1: 2024-05-15 09:53:06 -07:00
leo.c
macfb.c
macmodes.c fbdev: macmodes: add missing MODULE_DESCRIPTION() macro 2024-06-13 23:10:41 +02:00
macmodes.h
Makefile
maxinefb.c
metronomefb.c
n411.c
neofb.c
ocfb.c
offb.c fbdev: offb: add missing MODULE_DESCRIPTION() macro 2024-06-15 12:30:14 +02:00
p9100.c
platinumfb.c
platinumfb.h
pm2fb.c
pm3fb.c
pmag-aa-fb.c
pmag-ba-fb.c
pmagb-b-fb.c
ps3fb.c
pvr2fb.c
pxa3xx-gcu.c
pxa3xx-gcu.h
pxa3xx-regs.h
pxa168fb.c
pxa168fb.h
pxafb.c fbdev: omap2: replace of_graph_get_next_endpoint() 2024-03-25 05:49:05 +01:00
pxafb.h
q40fb.c
s1d13xxxfb.c
s3c-fb.c
s3fb.c fbcon: Increase maximum font width x height to 64 x 128 2024-03-16 08:29:48 +01:00
sa1100fb.c
sa1100fb.h
sbuslib.c
sbuslib.h
sh7760fb.c
sh_mobile_lcdcfb.c - Fix-ups 2024-05-22 10:45:12 -07:00
sh_mobile_lcdcfb.h
simplefb.c
skeletonfb.c
sm501fb.c
sm712.h
sm712fb.c
smscufx.c fbdev: smscufx: Make I2C terminology more inclusive 2024-07-11 12:07:48 +02:00
ssd1307fb.c fbdev: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-24 15:57:42 +02:00
sstfb.c
stifb.c fbdev: stifb: Fix crash in stifb_blank() 2024-01-23 09:13:24 +01:00
sunxvr500.c
sunxvr1000.c
sunxvr2500.c
tcx.c
tdfxfb.c fbdev: remove I2C_CLASS_DDC support 2024-01-18 21:10:41 +01:00
tgafb.c vt: remove superfluous CONFIG_HW_CONSOLE 2024-01-27 19:03:51 -08:00
tridentfb.c fbdev: remove I2C_CLASS_DDC support 2024-01-18 21:10:41 +01:00
udlfb.c
uvesafb.c fbdev: uvesafb: replace deprecated strncpy with strscpy_pad 2024-04-25 11:57:45 +02:00
valkyriefb.c
valkyriefb.h
vesafb.c fbdev: vesafb: Detect VGA compatibility from screen info's VESA attributes 2024-06-18 14:04:03 +02:00
vfb.c fbdev: vfb: add missing MODULE_DESCRIPTION() macro 2024-06-13 23:10:41 +02:00
vga16fb.c fbcon: Increase maximum font width x height to 64 x 128 2024-03-16 08:29:48 +01:00
vt8500lcdfb.c fbdev: vt8500lcdfb: Remove unnecessary print function dev_err() 2024-01-21 08:49:56 +01:00
vt8500lcdfb.h
vt8623fb.c fbcon: Increase maximum font width x height to 64 x 128 2024-03-16 08:29:48 +01:00
wm8505fb_regs.h
wm8505fb.c
wmt_ge_rops.c
wmt_ge_rops.h
xen-fbfront.c
xilinxfb.c