diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-28 04:49:40 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-06-01 16:23:46 +0300 |
commit | 21ad02e6b4c822d453faead4c96f0a86c4541b62 (patch) | |
tree | ea72355684a94f22be35630e7f076552e55e9248 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ccbe14ce88289ede522318ef3205e46f8455bbf2 (diff) | |
download | linux-21ad02e6b4c822d453faead4c96f0a86c4541b62.tar.xz |
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 <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20210528014940.4184-1-yuehaibing@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions