diff options
| author | Lars-Peter Clausen <[email protected]> | 2021-03-20 08:14:05 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-03-29 11:12:30 +0100 |
| commit | f46ac009780cb5ab2a0c85884fcc5f5bba7ee08e (patch) | |
| tree | aa318bb7971859572d5fa56e682b151646d9ef58 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 6b92ba0a3057787b52555cd81a661e9499f644f3 (diff) | |
iio: dac: Convert powerdown read callbacks to sysfs_emit()
Update DAC drivers powerdown attribute show callback to use the new
sysfs_emit() function.
sysfs_emit() is preferred over raw s*printf() for sysfs attributes since it
knows about the sysfs buffer specifics and has some built-in sanity checks.
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions