diff options
| author | Hans de Goede <hansg@kernel.org> | 2025-10-14 19:40:18 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-13 12:28:48 +0100 |
| commit | ad134ffad2efcb490a75fa1720f9aa43d0f84fe0 (patch) | |
| tree | 0b2f37ec6da2427b469a759a0c62500252f95f93 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | f60e94ed1aa110e48c7798a2fc99022e3b03239b (diff) | |
| download | linux-ad134ffad2efcb490a75fa1720f9aa43d0f84fe0.tar.gz linux-ad134ffad2efcb490a75fa1720f9aa43d0f84fe0.zip | |
media: i2c: ov01a10: Store dev pointer in struct ov01a10
Now that the cci_* register access helpers are used we no longer need
the i2c_client in various functions.
Some code is still getting the client just to be able to get to the device
pointer. Directly store a struct device *dev pointing to &client->dev
inside struct ov01a10 to make the code simpler.
This also fixes a mismatch of using dev vs &client->dev in the
runtime_pm_*() calls in probe().
Signed-off-by: Hans de Goede <hansg@kernel.org>
Tested-by: Mehdi Djait <mehdi.djait@linux.intel.com> # Dell XPS 9315
Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
