diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-28 09:49:40 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-06-01 14:23:46 +0100 |
commit | 21ad02e6b4c822d453faead4c96f0a86c4541b62 (patch) | |
tree | ea72355684a94f22be35630e7f076552e55e9248 /lib/ts_fsm.c | |
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 <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 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions