diff options
| author | Joe Simmons-Talbott <[email protected]> | 2022-06-01 14:54:14 -0400 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-06-15 22:07:10 +0100 |
| commit | 9cf0b618599487f456ef5596dd30b5c162291e3c (patch) | |
| tree | f8105bdd5eb404979f316b50b54d5f3ed112d0cd /tools/perf/scripts/python | |
| parent | 79b584ed12a08392baa4c498be1396c504b1e071 (diff) | |
iio: Use octal permissions and DEVICE_ATTR_{RO,RW}.
As reported by checkpatch.pl. Where possible use DEVICE_ATTR_RO(),
DEVICE_ATTR_RW(), and __ATTR_RO(). Change function names to be
<var>_show() for read and <var>_store() for write.
Suggested-by: Joe Perches <[email protected]>
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Joe Simmons-Talbott <[email protected]>
Reviewed-by: Andy Shevchenko <[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