]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: meson_saradc: replace sprintf() with sysfs_emit()
authorNuno Sá <nuno.sa@analog.com>
Tue, 30 Sep 2025 15:33:13 +0000 (16:33 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Oct 2025 10:59:17 +0000 (11:59 +0100)
commitf24a5ef74c350ec5432037f1d270b6ec4d56d269
treeee884898625f742998b7364009e159442db6ed88
parent08be56ebe994d8038751cc52a4a02e0135df34bb
iio: adc: meson_saradc: replace sprintf() with sysfs_emit()

Update the read_label() function to use sysfs_emit() for generating
labels.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/meson_saradc.c