aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ccs/ccs-core.c
diff options
context:
space:
mode:
authorZhen Lei <[email protected]>2021-06-03 07:12:49 +0000
committerMauro Carvalho Chehab <[email protected]>2021-08-04 12:43:50 +0000
commit7b537f290a9a9039d10d8f6da45e21018cc18cb2 (patch)
tree08409eb0a2a728f0ccf2525bced8ba3fbf43b4c3 /drivers/media/i2c/ccs/ccs-core.c
parentmedia: ov5640: Complement yuv mbus formats with their 1X16 versions (diff)
downloadkernel-7b537f290a9a9039d10d8f6da45e21018cc18cb2.tar.gz
kernel-7b537f290a9a9039d10d8f6da45e21018cc18cb2.zip
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 <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
0 files changed, 0 insertions, 0 deletions