commit | 9b4d7b5c81a2578e080da33b5cddc3149fa611aa | [log] [tgz] |
---|---|---|
author | Zhen Lei <thunder.leizhen@huawei.com> | Thu Jun 03 09:10:09 2021 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Tue Dec 07 11:29:58 2021 +0100 |
tree | b554ff70beb19ab06abaaa1e6ec759d29dca89d1 | |
parent | e67219b0496b795c9e4e9da53098a1ff302af313 [diff] |
media: bttv: use DEVICE_ATTR_RO() helper macro Use DEVICE_ATTR_RO() helper macro instead of DEVICE_ATTR(), which is simpler and more readable. Due to the name of the read function of the sysfs attribute is normalized, there is a natural association. Link: https://lore.kernel.org/linux-media/20210603071009.11438-1-thunder.leizhen@huawei.com Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>