kernel-ark/drivers/media/i2c/et8ek8
Zhen Lei 5fca4169f5 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 <thunder.leizhen@huawei.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-08-04 14:43:50 +02:00
..
et8ek8_driver.c media: i2c: et8ek8: use DEVICE_ATTR_RO() helper macro 2021-08-04 14:43:50 +02:00
et8ek8_mode.c
et8ek8_reg.h
Kconfig
Makefile