dmaengine: ppc4xx: Convert to use sysfs_emit()/sysfs_emit_at() APIs
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 6 Dec 2022 09:14:50 +0000 (17:14 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 18 Jan 2023 12:13:47 +0000 (17:43 +0530)
commitfaab12342f5a4579f066a9e9dcfa97d3e60cf36f
treee9be03504f0d662a7ee11895b4471b2eb6f45fbe
parent3dfaa68fa89afd7a926cc3c5f0388b52f489609b
dmaengine: ppc4xx: Convert to use sysfs_emit()/sysfs_emit_at() APIs

Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the
value to be returned to user space.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202212061714501297954@zte.com.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ppc4xx/adma.c