diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-11-03 22:53:09 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-12-13 14:28:38 +0300 |
commit | 7b9c5500f42e92992fe7b012974e0dddb673b1f5 (patch) | |
tree | 4f9b218858cd44dc2264eb07b3d5891773fa00ad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7d6766f5377686b871ab52c564327718ece233ad (diff) | |
download | linux-7b9c5500f42e92992fe7b012974e0dddb673b1f5.tar.xz |
leds: trigger: gpio: Use sysfs_emit() to instead of s*printf()
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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231103195310.948327-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions