diff options
author | YueHaibing <[email protected]> | 2021-05-28 09:49:40 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-06-01 14:23:46 +0100 |
commit | 21ad02e6b4c822d453faead4c96f0a86c4541b62 (patch) | |
tree | ea72355684a94f22be35630e7f076552e55e9248 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ccbe14ce88289ede522318ef3205e46f8455bbf2 (diff) |
perf: xgene_pmu: use DEVICE_ATTR_RO macro
Use DEVICE_ATTR_RO() helper instead of plain DEVICE_ATTR(),
which makes the code a bit shorter and easier to read.
Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions