diff options
| author | ye xingchen <[email protected]> | 2022-12-01 03:30:31 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2022-12-05 00:49:43 +0000 |
| commit | 4e6104b1e70020ad500f0fab7238898dd2ea2a38 (patch) | |
| tree | 00d9afe0a01e43f3794ac603c63ae46faa95348b /drivers/fpga/xilinx-spi.c | |
| parent | hwmon: (oxp-sensors) Fix pwm reading (diff) | |
| download | kernel-4e6104b1e70020ad500f0fab7238898dd2ea2a38.tar.gz kernel-4e6104b1e70020ad500f0fab7238898dd2ea2a38.zip | |
hwmon: use sysfs_emit() to instead of scnprintf()
Replace the open-code with sysfs_emit() to simplify the code.
Signed-off-by: ye xingchen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
