summaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorBruno Martins <ehanoc@protonmail.com>2026-03-02 00:28:26 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-03 00:01:23 +0300
commitcd04646c0f3eefdde87538f6ff932420cedc9ba0 (patch)
treecb58796992edbdc68b0fae6489a7f93eb87684bf /include/linux/start_kernel.h
parent5c3cf14b82f723ecaef7495fffcfe947e1c4d11e (diff)
downloadlinux-cd04646c0f3eefdde87538f6ff932420cedc9ba0.tar.xz
staging: iio: ad7816: Replace sprintf() with sysfs_emit()
As stated in Documentation/filesystems/sysfs.rst: 'New implementations of show() methods should only use sysfs_emit() or sysfs_emit_at() when formatting the value to be returned to user space.' Replace sprintf with sysfs_emit in the following sysfs show functions: - ad7816_show_mode() - ad7816_show_available_modes() - ad7816_show_channel() - ad7816_show_value() - ad7816_show_oti() Signed-off-by: Bruno Martins <ehanoc@protonmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions