diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-02 11:05:26 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-02 14:03:37 +0300 |
commit | ba499a50ce5846dd6f7a6df92c1f01d4201b5cce (patch) | |
tree | 37ba965abc5e8ed4324434903974e1be3a1730a0 /tools/perf/scripts/python | |
parent | de20b747c5836ffc6768914b95d7617139fac4f4 (diff) | |
download | linux-ba499a50ce5846dd6f7a6df92c1f01d4201b5cce.tar.xz |
regulator: userspace-consumer: use DEVICE_ATTR_RO/RW macro
Use DEVICE_ATTR_RO/RW macro helper instead of plain DEVICE_ATTR, which
makes the code a bit shorter and easier to read.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210602080526.11117-1-thunder.leizhen@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions