]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/time: Switch over to sysfs_emit()
authorMete Durlu <meted@linux.ibm.com>
Wed, 23 Oct 2024 12:10:55 +0000 (14:10 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 25 Oct 2024 14:03:23 +0000 (16:03 +0200)
commitb4b920cdede4e5f38f52f556792dbf5c502a1af7
treec9e3ab087c9f8f630906c6aafbb75416060821de
parentf94de4f17b5698b2bf011367b955ea7374b26ba4
s390/time: Switch over to sysfs_emit()

Per Documentation/filesystems/sysfs.rst, sysfs_emit() is preferred over
sprintf for presenting attributes to user space. Convert the left-over
uses in the s390/time code.

Signed-off-by: Mete Durlu <meted@linux.ibm.com>
Reviewed-by: Gerd Bayer <gbayer@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/time.c