PM / devfreq: Convert to use sysfs_emit_at() API
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 24 Oct 2023 18:30:16 +0000 (20:30 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 13 Nov 2023 01:48:49 +0000 (10:48 +0900)
commit4920ee6dcfaf9aec9f4bd14ce6c15a6a758a92ae
tree4260e63e0dbb1774f8258dab03f3dc724a19b949
parent08e23d05fa6dc4fc13da0ccf09defdd4bbc92ff4
PM / devfreq: 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.

Link: https://lore.kernel.org/all/20231024183016.14648-3-ansuelsmth@gmail.com/
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/devfreq.c