diff options
| author | YueHaibing <[email protected]> | 2021-05-29 19:52:26 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-06-02 12:03:34 +0100 |
| commit | a277a2622ca9609de09c18f660f0d10f1ddbb379 (patch) | |
| tree | 4d97b36e2ad5139aa7551d3898448c76e687fe83 /scripts/gdb/linux/cpus.py | |
| parent | 96ec5afeb3001dcb432b9c9e8738aa537c6cdb12 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions