diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-01-30 12:11:41 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-02-10 07:07:45 +0100 |
commit | 40e171c2d306e42057433fb2c2f1fee2d385e1c4 (patch) | |
tree | 4df3e310cf8aae2b5242ef653e0e3c74f9b05f03 /drivers/dma/stm32-dma.c | |
parent | dmaengine: Make an order in struct dma_device definition (diff) | |
download | linux-40e171c2d306e42057433fb2c2f1fee2d385e1c4.tar.xz linux-40e171c2d306e42057433fb2c2f1fee2d385e1c4.zip |
dmaengine: use sysfs_emit() to instead of scnprintf()
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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230130111141.59627-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/stm32-dma.c')
0 files changed, 0 insertions, 0 deletions