diff options
author | YueHaibing <yuehaibing@huawei.com> | 2021-05-29 14:52:26 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-02 14:03:34 +0300 |
commit | a277a2622ca9609de09c18f660f0d10f1ddbb379 (patch) | |
tree | 4d97b36e2ad5139aa7551d3898448c76e687fe83 /tools/perf/scripts/python/futex-contention.py | |
parent | 96ec5afeb3001dcb432b9c9e8738aa537c6cdb12 (diff) | |
download | linux-a277a2622ca9609de09c18f660f0d10f1ddbb379.tar.xz |
regulator: core: 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/20210529115226.25376-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions