diff options
author | 2021-05-29 19:52:26 +0800 | |
---|---|---|
committer | 2021-06-02 12:03:34 +0100 | |
commit | a277a2622ca9609de09c18f660f0d10f1ddbb379 (patch) | |
tree | 4d97b36e2ad5139aa7551d3898448c76e687fe83 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | regulator: mcp16502: Convert to use regulator_set_ramp_delay_regmap (diff) | |
download | wireguard-linux-a277a2622ca9609de09c18f660f0d10f1ddbb379.tar.xz wireguard-linux-a277a2622ca9609de09c18f660f0d10f1ddbb379.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions