]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: uvcvideo: Rename second ioctl handlers argument to 'void *priv'
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 10 Aug 2025 01:30:54 +0000 (04:30 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 13 Aug 2025 06:33:59 +0000 (08:33 +0200)
commit0960b6937bd99d775b3a7220135ecc546bfb9623
treebc34d94551b03759f87548e7945b83864558ef10
parentbb74fac758d46edddad56c66ae593a41b1553a2b
media: uvcvideo: Rename second ioctl handlers argument to 'void *priv'

The second argument to the ioctl handlers is not a file handle any more.
Rename it from 'void *fh' to 'void *priv', to avoid misconceptions. This
is particularly important in the uvcvideo driver, as it is widely used
and can be taken as an example for new drivers.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/usb/uvc/uvc_metadata.c
drivers/media/usb/uvc/uvc_v4l2.c