aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-08-13 00:45:45 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2025-09-09 15:59:18 +0200
commitbe3971e218b908488bb623e2ac9d5eaf003e1c32 (patch)
treec1de5387ed49e5c7ca1314336e14ab546c6804b8 /tools/perf/scripts/python/netdev-times.py
parentmedia: i2c: ov4689: Use V4L2 sensor clock helper (diff)
downloadlinux-be3971e218b908488bb623e2ac9d5eaf003e1c32.tar.gz
linux-be3971e218b908488bb623e2ac9d5eaf003e1c32.zip
media: i2c: ov5670: 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 ov5670 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 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions