diff options
| author | Zhen Lei <[email protected]> | 2021-06-03 07:15:29 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-08-04 12:43:50 +0000 |
| commit | 5fca4169f5bd8dce5f49123196fb97db52d25a99 (patch) | |
| tree | 1626bcf851f4b887c10459f259aeb1eab80e7a68 /drivers/media/i2c/ccs/ccs-core.c | |
| parent | media: mc-device.c: use DEVICE_ATTR_RO() helper macro (diff) | |
| download | kernel-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
