diff options
author | 2021-06-02 19:43:31 +0800 | |
---|---|---|
committer | 2021-06-15 13:01:45 +0100 | |
commit | 981ce06ab8dd642aff90ce91726da1c5e73eb25b (patch) | |
tree | 6f0ea59028ca4b71764cc38e30a4aa86f0b3a564 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mfd: wm831x: Use DEFINE_RES_IRQ_NAMED() and DEFINE_RES_IRQ() to simplify code (diff) | |
download | wireguard-linux-981ce06ab8dd642aff90ce91726da1c5e73eb25b.tar.xz wireguard-linux-981ce06ab8dd642aff90ce91726da1c5e73eb25b.zip |
mfd: wm831x: Use DEVICE_ATTR_RO macro
Use DEVICE_ATTR_RO 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>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions