diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2025-08-10 04:29:48 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-08-13 08:33:21 +0200 |
| commit | 7b6cf051dff7b35299ce52b0b00d6e21e656fb4f (patch) | |
| tree | cdda95c7f58e0a3f6954bc2e6b30e39e3bd95c02 /drivers/media/v4l2-core/v4l2-ctrls-api.c | |
| parent | media: usb: pvrusb2: Store v4l2_fh pointer in file->private_data (diff) | |
| download | linux-7b6cf051dff7b35299ce52b0b00d6e21e656fb4f.tar.gz linux-7b6cf051dff7b35299ce52b0b00d6e21e656fb4f.zip | |
media: usb: uvcvideo: Store v4l2_fh pointer in file->private_data
Most V4L2 drivers store the v4l2_fh pointer in file->private_data. The
uvcvideo 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.
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
