aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-ctrls-api.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2025-08-10 04:29:47 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-08-13 08:33:21 +0200
commit4a538a1c5f728641b8e3c89f73f92c2bbf7a553e (patch)
tree24abdc6a54ade55fd1aca2037578fade3a228ac4 /drivers/media/v4l2-core/v4l2-ctrls-api.c
parentmedia: usb: hdpvr: Store v4l2_fh pointer in file->private_data (diff)
downloadlinux-4a538a1c5f728641b8e3c89f73f92c2bbf7a553e.tar.gz
linux-4a538a1c5f728641b8e3c89f73f92c2bbf7a553e.zip
media: usb: pvrusb2: Store v4l2_fh pointer in file->private_data
Most V4L2 drivers store the v4l2_fh pointer in file->private_data. The pvrusb2 driver instead stores the pointer to the driver-specific structure that embeds the v4l2_fh. Switch to storing the v4l2_fh pointer itself to standardize behaviour across drivers. This also prepares for future refactoring that depends on v4l2_fh being stored in private_data. While at it, drop unneeded structure forward declarations. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls-api.c')
0 files changed, 0 insertions, 0 deletions