hwmon: (axi-fan-control) Make use of sysfs_emit()
authorNuno Sa <nuno.sa@analog.com>
Wed, 14 Feb 2024 14:36:44 +0000 (15:36 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 25 Feb 2024 20:37:46 +0000 (12:37 -0800)
commit0b5f91d47d72d706360777fe03e40eab2f51a94a
tree01dc7a49c94b8b3116e8c05e140feaa174fffa8e
parent1b5239f70fcd2d7fe86f0f5473006c2896db07a8
hwmon: (axi-fan-control) Make use of sysfs_emit()

Use sysfs_emit() instead of directly call sprintf().

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240214-axi-fan-control-no-of-v1-2-43ca656fe2e3@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/axi-fan-control.c