linux/drivers/media
Laurent Pinchart 5ff996ee54 media: i2c: ov08x40: Replace client->dev usage
The driver needs to access the struct device in many places, and
retrieves it from the i2c_client itself retrieved with
v4l2_get_subdevdata(). Store it as a pointer in struct ov08x40 and
access it from there instead, to simplify the driver.

While at it, fix mistakes in the sort order of include statements.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
History 2025-09-09 15:59:18 +02:00
..
cec media: update Hans Verkuil's email address 2025-09-09 15:59:02 +02:00
common media: update Hans Verkuil's email address 2025-09-09 15:59:02 +02:00
dvb-core treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
dvb-frontends media: Kconfig: Fix spelling mistake "Tehnology" -> "Technology" 2025-08-29 11:04:02 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: i2c: ov08x40: Replace client->dev usage 2025-09-09 15:59:18 +02:00
mc media: mc: Clear minor number reservation at unregistration time 2025-09-09 15:59:16 +02:00
mmc media: mmc: siano: simplify module initialization 2024-04-08 13:48:19 +02:00
pci media: update Hans Verkuil's email address 2025-09-09 15:59:02 +02:00
platform media: ti: j721e-csi2rx: Fix NULL vs IS_ERR() bug in ti_csi2rx_request_max_ppc() 2025-09-09 15:59:16 +02:00
radio media: update Hans Verkuil's email address 2025-09-09 15:59:02 +02:00
rc media: imon: Remove unused defines 2025-08-15 09:47:13 +02:00
spi media: gs1662: remove unused struct 'gs_reg_fmt_custom' 2024-05-31 13:51:16 +02:00
test-drivers media: update Hans Verkuil's email address 2025-09-09 15:58:44 +02:00
tuners media: fix uninitialized symbol warnings 2025-08-29 11:04:02 +02:00
usb media: em28xx: add special case for legacy gpiolib interface 2025-08-29 11:04:02 +02:00
v4l2-core media: update Hans Verkuil's email address 2025-09-09 15:59:02 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00