diff options
author | Zhen Lei <[email protected]> | 2021-06-03 09:17:50 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2021-08-04 14:43:50 +0200 |
commit | 9256de06942c703e22d61ad73458b52263857157 (patch) | |
tree | e7ca38588f4c3e9def2d18a5aefed188c2d2c37c /scripts/gdb/linux/vmalloc.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 <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions