linux/drivers/staging/iio
Gabriel Rondon 8a75ac8f0a staging: iio: ad9834: use sysfs_emit() and simplify show functions
Replace sprintf() with sysfs_emit() in sysfs attribute show functions.
sysfs_emit() is the preferred API for sysfs callbacks as it is aware
of the PAGE_SIZE buffer limit.

Also simplify the wavetype_available show functions by removing
the intermediate string variable and returning directly from each
branch.

Signed-off-by: Gabriel Rondon <grondon@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
History 2026-03-21 13:16:07 +00:00
..
accel iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
adc staging: iio: ad7816: Replace sprintf() with sysfs_emit() 2026-03-02 21:01:23 +00:00
addac staging: iio: adt7316: modernize power management 2026-01-11 13:00:22 +00:00
Documentation iio: resolver: ad2s1210: move out of staging 2023-10-12 09:20:50 +01:00
frequency staging: iio: ad9834: use sysfs_emit() and simplify show functions 2026-03-21 13:16:07 +00:00
impedance-analyzer staging: iio: ad5933: use sysfs_emit() in show functions 2026-03-21 13:10:14 +00:00
Kconfig iio: resolver: ad2s1210: move out of staging 2023-10-12 09:20:50 +01:00
Makefile iio: resolver: ad2s1210: move out of staging 2023-10-12 09:20:50 +01:00