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

Update the ad7768_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/ad7768-1.c