]> git.ipfire.org Git - thirdparty/linux.git/commit
w1: use sysfs_emit() in sysfs show() callbacks
authorVivek BalachandharTN <vivek.balachandhar@gmail.com>
Sat, 4 Oct 2025 22:21:28 +0000 (22:21 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 13 Oct 2025 00:19:03 +0000 (02:19 +0200)
commitc6d0c9cae7eea0a029b5961d896c016d1467d03d
treefe81368252eefe83b5560ef424e52bd221c68948
parent3a8660878839faadb4f1a6dd72c3179c1df56787
w1: use sysfs_emit() in sysfs show() callbacks

Replace sprintf in sysfs show() paths with sysfs_emit(), per
Documentation/filesystems/sysfs.rst.

Signed-off-by: Vivek BalachandharTN <vivek.balachandhar@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/w1/w1.c