ACPI: fan: Convert to use sysfs_emit_at() API
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 6 Dec 2022 07:19:45 +0000 (15:19 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Dec 2022 11:44:14 +0000 (12:44 +0100)
commit64ee25282610fcf872a4491ed5eaec440d3a485b
tree6feaf6168373c4f70be986a8b1aa81acbe77ace8
parentf2ae44ae5335864794acb5b0490746ba9db3ccd7
ACPI: fan: Convert to use sysfs_emit_at() API

Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the
value to be returned to user space.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/fan_attr.c