]> git.hungrycats.org Git - linux/commit
i3c: master: Replace sprintf() with sysfs_emit() family
authorMaxwell Doose <m32285159@gmail.com>
Tue, 21 Apr 2026 21:48:37 +0000 (16:48 -0500)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 30 Apr 2026 10:02:44 +0000 (12:02 +0200)
commit14236919b0e68ac9be6b425d5149a3ad4fd85914
tree9313b6c629242e75d0e0ad09bedbd9d9fac549bd
parent1effa3adfe53cb2bb28bf5640a676b791d5ab405
i3c: master: Replace sprintf() with sysfs_emit() family

Replace sprintf() function calls with sysfs_emit() and
sysfs_emit_at() function calls where appropriate. This will help
harden the driver and help modernize it. While at it, add missing
newlines at the end of some sysfs_emit() (formerly sprintf()) calls.

Signed-off-by: Maxwell Doose <m32285159@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260421214837.20939-1-m32285159@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master.c