diff options
| author | 2025-08-13 00:45:47 +0300 | |
|---|---|---|
| committer | 2025-09-09 15:59:19 +0200 | |
| commit | 381045e43b7376e4516f5482e478d680fe3c7c05 (patch) | |
| tree | dc297028523e783f6231bac57dff9f2ed05a520a /scripts/Makefile.thinlto | |
| parent | media: i2c: ov5670: Use V4L2 sensor clock helper (diff) | |
media: i2c: ov5675: 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 ov5675 and access
it from there instead, to simplify the driver.
While at it, fix a mistake 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>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
