diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-03 10:12:49 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-08-04 15:43:50 +0300 |
commit | 7b537f290a9a9039d10d8f6da45e21018cc18cb2 (patch) | |
tree | 08409eb0a2a728f0ccf2525bced8ba3fbf43b4c3 /net/openvswitch/actions.c | |
parent | 1536fbdbcb7f6bf0442c5158fbda9c73cf706f74 (diff) | |
download | linux-7b537f290a9a9039d10d8f6da45e21018cc18cb2.tar.xz |
media: mc-device.c: 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.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'net/openvswitch/actions.c')
0 files changed, 0 insertions, 0 deletions