summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/dell-smm-hwmon.c
diff options
context:
space:
mode:
authorye xingchen <ye.xingchen@zte.com.cn>2022-12-01 04:30:31 +0100
committerGuenter Roeck <linux@roeck-us.net>2022-12-05 01:49:43 +0100
commit4e6104b1e70020ad500f0fab7238898dd2ea2a38 (patch)
tree00d9afe0a01e43f3794ac603c63ae46faa95348b /drivers/hwmon/dell-smm-hwmon.c
parenthwmon: (oxp-sensors) Fix pwm reading (diff)
downloadlinux-4e6104b1e70020ad500f0fab7238898dd2ea2a38.tar.xz
linux-4e6104b1e70020ad500f0fab7238898dd2ea2a38.zip
hwmon: use sysfs_emit() to instead of scnprintf()
Replace the open-code with sysfs_emit() to simplify the code. Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn> Link: https://lore.kernel.org/r/202212011130317080061@zte.com.cn Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/dell-smm-hwmon.c')
0 files changed, 0 insertions, 0 deletions