]> www.infradead.org Git - users/willy/xarray.git/commit
firmware: turris-mox-rwtm: Use sysfs_emit() instead of sprintf()
authorMarek BehĂșn <kabel@kernel.org>
Sat, 31 Aug 2024 09:20:40 +0000 (11:20 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 2 Sep 2024 09:42:09 +0000 (09:42 +0000)
commit97a9c5b3e0a4791cd4aa9d9ebbbfb2c0e83e2ff0
treef4acabb7e00606a2fe7b93119d0c8f835cf7bd75
parent671d5f68698b5e516c23048e5bfd4bcd9d90cc78
firmware: turris-mox-rwtm: Use sysfs_emit() instead of sprintf()

Use sysfs_emit() instead of sprintf() in sysfs attribute .show()
method.

Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Link: https://lore.kernel.org/r/20240831092050.23093-7-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/firmware/turris-mox-rwtm.c