]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/cio/chp: Switch over to sysfs_emit()
authorMete Durlu <meted@linux.ibm.com>
Wed, 23 Oct 2024 12:11:02 +0000 (14:11 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 25 Oct 2024 14:03:24 +0000 (16:03 +0200)
commit04b190911d678f490f4fef1e84b45a1122263ac3
treea7fb0a230ca67abd9cc779911b6b061ba2acdc9b
parent0aa4daa70024c486bbcbccd904d0f9f66d764a7d
s390/cio/chp: Switch over to sysfs_emit()

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

Signed-off-by: Mete Durlu <meted@linux.ibm.com>
Tested-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Acked-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/cio/chp.c