diff options
author | 2021-06-03 20:30:41 +0800 | |
---|---|---|
committer | 2021-06-11 20:42:45 +0200 | |
commit | 97f41002945fd9c55e8b80c654ea34fd434250e7 (patch) | |
tree | 212f60f6921893082bede95228ed7fa7460a4c31 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: parsers: qcom: Fix leaking of partition name (diff) | |
download | linux-dev-97f41002945fd9c55e8b80c654ea34fd434250e7.tar.xz linux-dev-97f41002945fd9c55e8b80c654ea34fd434250e7.zip |
mtd: mtdpart: use DEVICE_ATTR_RO() helper macro
Use DEVICE_ATTR_RO() helper macro 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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210603123041.12036-1-thunder.leizhen@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions