diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-01-13 16:11:17 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-01-14 16:15:13 +0000 |
| commit | ebda75fbfa95ea825557325962f1ed6724d557d0 (patch) | |
| tree | 5254eddb131715b2cbc1d665c648c79d968cbead /tools/perf/scripts/python | |
| parent | iio: adc: stm32-dfsdm: add id registers support (diff) | |
| download | linux-ebda75fbfa95ea825557325962f1ed6724d557d0.tar.gz linux-ebda75fbfa95ea825557325962f1ed6724d557d0.zip | |
iio: chemical: scd30_core: 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/20230113141117.23353-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
