mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Per filesystems/sysfs.rst, show() should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space. coccinelle complains that there are still a couple of functions that use snprintf(). Convert them to sysfs_emit(). CC: Helge Deller <[email protected]> CC: [email protected] CC: [email protected] CC: [email protected] Signed-off-by: Li Zhijian <[email protected]> Signed-off-by: Helge Deller <[email protected]>