diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-03 09:02:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-08 15:57:51 +0200 |
commit | f1d9f315924f02ed8aabada04a04b20a0c6cc9be (patch) | |
tree | 6d1fab6449587511c8f253e7d7b6c77a7251c86a /Documentation/userspace-api | |
parent | 53a370f621a04a06bd2402c13580d7e4eb172c98 (diff) | |
download | linux-f1d9f315924f02ed8aabada04a04b20a0c6cc9be.tar.bz2 |
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 'Documentation/userspace-api')
0 files changed, 0 insertions, 0 deletions