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

The second argument to the ioctl handlers is not a file handle any more.
The standard practice is to name it 'void *priv' in drivers. Many
drivers still name it 'void *fh', and a few use more exotic names.
Replace those more exotic names with 'void *priv' in all media staging
drivers.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c