diff options
author | ye xingchen <ye.xingchen@zte.com.cn> | 2022-12-01 16:11:24 +0800 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2022-12-07 21:05:20 +0100 |
commit | 3f6fb1cfaf30d0d701d877ffacfd88dd6bcc5841 (patch) | |
tree | 82addfc838c8123f5e3e49a7d8fecd9a875ea510 /drivers/hwmon/adt7410.c | |
parent | 135780f1048b3f956f5b10bb23dec9c2d2c4ef6d (diff) | |
download | linux-3f6fb1cfaf30d0d701d877ffacfd88dd6bcc5841.tar.bz2 |
leds: 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>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/hwmon/adt7410.c')
0 files changed, 0 insertions, 0 deletions