summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-08-08 11:46:11 +0200
committerHelge Deller <deller@gmx.de>2024-08-30 18:42:38 +0200
commit33ae421ad2b546e472e36d73cf13f2b3b386f713 (patch)
treef7dd6fd15e30a33db0f7b60beaf6ec253d333959 /Kconfig
parentfbdev: mmp: Use devm_clk_get_enabled() helpers (diff)
downloadlinux-33ae421ad2b546e472e36d73cf13f2b3b386f713.tar.xz
linux-33ae421ad2b546e472e36d73cf13f2b3b386f713.zip
fbdev: omapfb: panel-sony-acx565akm: Simplify show_cabc_available_modes()
Use sysfs_emit_at() instead of snprintf() + custom logic. Using sysfs_emit_at() is much more simple. Also, sysfs_emit() is already used in this function, so using sysfs_emit_at() is more consistent. Also simplify the logic: - always add a space after an entry - change the last space into a '\n' Finally it is easy to see that, given the size of cabc_modes, PAGE_SIZE can not be reached. So better keep everything simple (and correct). 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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions