diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-01-13 17:11:17 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-01-14 19:15:13 +0300 |
commit | ebda75fbfa95ea825557325962f1ed6724d557d0 (patch) | |
tree | 5254eddb131715b2cbc1d665c648c79d968cbead /tools/perf/scripts/python/task-analyzer.py | |
parent | bfcae956d9b50ea0e221cefc171604c569017d7e (diff) | |
download | linux-ebda75fbfa95ea825557325962f1ed6724d557d0.tar.xz |
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions