diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-08-03 11:33:25 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-08-14 20:27:56 +0200 |
commit | 7adfdecbbee18332ffa7c1397e780e304b43111e (patch) | |
tree | 4ddbf2b982913a39e8d4f85f859b1be5dff0974a /tools/perf/scripts/python | |
parent | 9289998ea534f7d7954a3a07970c8542dc95d28b (diff) |
media: ov2680: Store dev instead of i2c_client in ov2680_dev
Now that the cci_* register access helpers are used access to
the i2c_client after probe() is no longer necessary.
Directly store a struct device *dev pointing to &client->dev inside
ov2680_dev to make the code simpler.
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions