diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2025-08-13 00:45:32 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-09-09 15:59:18 +0200 |
| commit | d1f4dbef9c950aa809ad48915e9bdbe1dc1d11b9 (patch) | |
| tree | c4675bcae5dbe1a4c77a61d4fe5d8badb277c69b /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | media: i2c: ov02c10: Use V4L2 sensor clock helper (diff) | |
| download | linux-d1f4dbef9c950aa809ad48915e9bdbe1dc1d11b9.tar.gz linux-d1f4dbef9c950aa809ad48915e9bdbe1dc1d11b9.zip | |
media: i2c: ov02e10: 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 ov02e10 and
access it from there instead, to simplify the driver.
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 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
