diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-07-03 21:52:20 +0300 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2023-07-28 18:05:48 +0300 |
commit | 5120bf04984a73c7fdae23bcfef8b1f45774e05b (patch) | |
tree | b323b125f8ec5632654bc6d783adc5e20f6ba0dc /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e19c6bd4e3760a37c59808da1ee3e7dd799348ae (diff) | |
download | linux-5120bf04984a73c7fdae23bcfef8b1f45774e05b.tar.xz |
HID: cp2112: 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/20230703185222.50554-11-andriy.shevchenko@linux.intel.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions