diff options
author | 2021-05-28 09:49:40 +0800 | |
---|---|---|
committer | 2021-06-01 14:23:46 +0100 | |
commit | 21ad02e6b4c822d453faead4c96f0a86c4541b62 (patch) | |
tree | ea72355684a94f22be35630e7f076552e55e9248 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf: qcom: use DEVICE_ATTR_RO macro (diff) | |
download | wireguard-linux-21ad02e6b4c822d453faead4c96f0a86c4541b62.tar.xz wireguard-linux-21ad02e6b4c822d453faead4c96f0a86c4541b62.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions