summaryrefslogtreecommitdiff
path: root/include/linux/execmem.h
diff options
context:
space:
mode:
authorGabriel Rondon <grondon@gmail.com>2026-03-21 01:24:23 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-21 16:10:14 +0300
commitf6192780807d5c2fc08f506948b19c6072e1bfe8 (patch)
treee6fc48387a9bf6d6500c9e1cc0e7beaaef4b7171 /include/linux/execmem.h
parent773a5dc613ed1c9b8b2a9d614d42ac994e99aeb6 (diff)
downloadlinux-f6192780807d5c2fc08f506948b19c6072e1bfe8.tar.xz
staging: iio: ad5933: use sysfs_emit() in show functions
Replace sprintf() with sysfs_emit() in all sysfs attribute show functions. sysfs_emit() is the preferred API for sysfs callbacks as it is aware of the PAGE_SIZE buffer limit. Also remove the unnecessary (int) cast in ad5933_show_frequency() and use the correct format specifier %llu for the unsigned long long freqreg variable. Signed-off-by: Gabriel Rondon <grondon@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/execmem.h')
0 files changed, 0 insertions, 0 deletions