]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mips: sgi-ip22: Replace "s[n]?printf" with sysfs_emit in sysfs callbacks
authorPaulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Thu, 17 Oct 2024 09:13:42 +0000 (22:13 +1300)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 30 Oct 2024 22:45:17 +0000 (23:45 +0100)
commitb2d5ca95ecfa4a4aa6f5b54ffdfe8d149d390f1e
treebd75215a2bdd3edd225a2eca123020987c3d9abf
parent81983758430957d9a5cb3333fe324fd70cf63e7e
mips: sgi-ip22: Replace "s[n]?printf" with sysfs_emit in sysfs callbacks

Replace open-coded pieces with sysfs_emit() helper in sysfs .show()
callbacks.

Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Reviewed-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/sgi-ip22/ip22-gio.c