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

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

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Marius Cristea <marius.cristea@microchip.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/mcp3564.c