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

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

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