aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ccs/ccs-core.c
diff options
context:
space:
mode:
authorZhen Lei <[email protected]>2021-06-03 07:15:29 +0000
committerMauro Carvalho Chehab <[email protected]>2021-08-04 12:43:50 +0000
commit5fca4169f5bd8dce5f49123196fb97db52d25a99 (patch)
tree1626bcf851f4b887c10459f259aeb1eab80e7a68 /drivers/media/i2c/ccs/ccs-core.c
parentmedia: mc-device.c: use DEVICE_ATTR_RO() helper macro (diff)
downloadkernel-5fca4169f5bd8dce5f49123196fb97db52d25a99.tar.gz
kernel-5fca4169f5bd8dce5f49123196fb97db52d25a99.zip
media: i2c: et8ek8: 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]> Acked-by: Pavel Machek <[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