diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-06-03 09:17:50 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-08-04 14:43:50 +0200 |
commit | 9256de06942c703e22d61ad73458b52263857157 (patch) | |
tree | e7ca38588f4c3e9def2d18a5aefed188c2d2c37c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5fca4169f5bd8dce5f49123196fb97db52d25a99 (diff) |
media: i2c: 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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions