diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-03 10:02:30 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-08 16:57:51 +0300 |
commit | f1d9f315924f02ed8aabada04a04b20a0c6cc9be (patch) | |
tree | 6d1fab6449587511c8f253e7d7b6c77a7251c86a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 53a370f621a04a06bd2402c13580d7e4eb172c98 (diff) | |
download | linux-f1d9f315924f02ed8aabada04a04b20a0c6cc9be.tar.xz |
media: imon: use DEVICE_ATTR_RW() helper macro
Use DEVICE_ATTR_RW() helper macro instead of DEVICE_ATTR(), which is
simpler and more readable.
Due to the names of the read and write functions of the sysfs attribute is
normalized, there is a natural association.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions