aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2021-12-16 19:52:16 +0100
committerJonathan Cameron <[email protected]>2022-01-23 18:03:36 +0000
commit1acdaa34ad17e304d39d83fc9affc2d71c550a13 (patch)
treed779b5bd46b44af4c3d820ea43de8e2c4092f5c4 /tools/perf/scripts/python
parent6ab56c467593b422079cf119beb4e7c44f5417a9 (diff)
iio: scd4x: Use sysfs_emit()
sysfs_emit() is preferred over raw s*printf() for sysfs attributes since it knows about the sysfs buffer specifics and has some built-in checks for size and alignment. Use sysfs_emit() to format the custom `calibration_auto_enable` device attribute of the scd4x driver. Signed-off-by: Lars-Peter Clausen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions