summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2025-08-10 04:30:18 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-08-13 09:33:47 +0300
commit334f228752c2f8d3d4c74bc360527197819ddcc5 (patch)
treeff897846971685914b91c4aee66c65d943d5e7a1 /scripts
parentae76d82230844d8d7cbbcf3e3a9dd7228a7cb994 (diff)
downloadlinux-334f228752c2f8d3d4c74bc360527197819ddcc5.tar.xz
media: allegro: Access v4l2_fh from file
The v4l2_fh associated with an open file handle is now guaranteed to be available in file->private_data, initialised by v4l2_fh_add(). Access the v4l2_fh, and from there the driver-specific structure, from the file * in all ioctl handlers. While at it remove the only left user of fh_to_channel() and remove the macro completely. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Michael Tretter <m.tretter@pengutronix.de> Co-developed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions