Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH] [RFC] media: Drop v4l2_file_operations owner field
@ 2026-12-04  2:18 Laurent Pinchart
  2026-12-04  4:17 ` Ian Rogers
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Pinchart @ 2026-12-04  2:18 UTC (permalink / raw)
  To: linux-media; +Cc: Hans Verkuil, Mauro Carvalho Chehab, Sakari Ailus, Ian Rogers

The owner field of the v4l2_file_operations structure is used only by
the video_register_device() and video_register_device_no_warn() wrappers
to pass the owning module to the __video_register_device() function. It
has to be set by drivers to THIS_MODULE, in order to properly refcount
modules an open() and release() time.

The V4L2 core silently accepts a NULL owner, making this very
error-prone. Multiple driver forgot to set the owner field, resulting in
refcounting issues that have been unnoticed for years.

We could fix those individual drivers, but the problem would be likely
to occur again in the future. Fix it by making the error impossible
instead: remove the owner field, and pass THIS_MODULE to
__video_register_device() from the wrapper functions.

The changes to drivers was generated with the following Coccinelle
semantic patch:

@@
identifier fops;
@@
struct v4l2_file_operations fops = {
	...,
-	.owner = THIS_MODULE,
	...
};

The only other change in this commit is the removal of the owner field
and the changes to the wrapper functions in include/media/v4l2-dev.h.

Reported-by: Ian Rogers <irogers@google.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/input/rmi4/rmi_f54.c                                | 1 -
 drivers/input/touchscreen/atmel_mxt_ts.c                    | 1 -
 drivers/input/touchscreen/sur40.c                           | 1 -
 .../cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c     | 1 -
 drivers/media/common/saa7146/saa7146_fops.c                 | 1 -
 drivers/media/dvb-frontends/rtl2832_sdr.c                   | 1 -
 drivers/media/i2c/video-i2c.c                               | 1 -
 drivers/media/pci/bt8xx/bttv-driver.c                       | 2 --
 drivers/media/pci/cobalt/cobalt-v4l2.c                      | 3 ---
 drivers/media/pci/cx18/cx18-streams.c                       | 2 --
 drivers/media/pci/cx23885/cx23885-417.c                     | 1 -
 drivers/media/pci/cx23885/cx23885-video.c                   | 1 -
 drivers/media/pci/cx25821/cx25821-video.c                   | 2 --
 drivers/media/pci/cx88/cx88-blackbird.c                     | 1 -
 drivers/media/pci/cx88/cx88-video.c                         | 2 --
 drivers/media/pci/dt3155/dt3155.c                           | 1 -
 drivers/media/pci/hws/hws_video.c                           | 1 -
 drivers/media/pci/intel/ipu3/ipu3-cio2.c                    | 1 -
 drivers/media/pci/intel/ipu6/ipu6-isys-video.c              | 1 -
 drivers/media/pci/ivtv/ivtv-streams.c                       | 3 ---
 drivers/media/pci/mgb4/mgb4_vin.c                           | 1 -
 drivers/media/pci/mgb4/mgb4_vout.c                          | 1 -
 drivers/media/pci/saa7134/saa7134-empress.c                 | 1 -
 drivers/media/pci/saa7134/saa7134-video.c                   | 2 --
 drivers/media/pci/saa7164/saa7164-encoder.c                 | 1 -
 drivers/media/pci/saa7164/saa7164-vbi.c                     | 1 -
 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c              | 1 -
 drivers/media/pci/solo6x10/solo6x10-v4l2.c                  | 1 -
 drivers/media/pci/tw5864/tw5864-video.c                     | 1 -
 drivers/media/pci/tw68/tw68-video.c                         | 1 -
 drivers/media/pci/tw686x/tw686x-video.c                     | 1 -
 drivers/media/pci/zoran/zoran_driver.c                      | 1 -
 drivers/media/platform/allegro-dvt/allegro-core.c           | 1 -
 drivers/media/platform/amd/isp4/isp4_video.c                | 1 -
 drivers/media/platform/amlogic/meson-ge2d/ge2d.c            | 1 -
 drivers/media/platform/amphion/vdec.c                       | 1 -
 drivers/media/platform/amphion/venc.c                       | 1 -
 drivers/media/platform/arm/mali-c55/mali-c55-capture.c      | 1 -
 drivers/media/platform/arm/mali-c55/mali-c55-params.c       | 1 -
 drivers/media/platform/arm/mali-c55/mali-c55-stats.c        | 1 -
 drivers/media/platform/aspeed/aspeed-video.c                | 1 -
 drivers/media/platform/atmel/atmel-isi.c                    | 1 -
 drivers/media/platform/broadcom/bcm2835-unicam.c            | 1 -
 drivers/media/platform/chips-media/coda/coda-common.c       | 1 -
 drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c    | 1 -
 drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c    | 1 -
 drivers/media/platform/imagination/e5010-jpeg-enc.c         | 1 -
 drivers/media/platform/intel/pxa_camera.c                   | 1 -
 drivers/media/platform/m2m-deinterlace.c                    | 1 -
 drivers/media/platform/marvell/mcam-core.c                  | 1 -
 drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c        | 1 -
 drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c           | 1 -
 drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c         | 1 -
 .../platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c   | 1 -
 .../platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c   | 1 -
 drivers/media/platform/microchip/microchip-isc-base.c       | 1 -
 drivers/media/platform/nuvoton/npcm-video.c                 | 1 -
 drivers/media/platform/nvidia/tegra-vde/v4l2.c              | 1 -
 drivers/media/platform/nxp/dw100/dw100.c                    | 1 -
 drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c              | 1 -
 drivers/media/platform/nxp/imx-pxp.c                        | 1 -
 drivers/media/platform/nxp/imx7-media-csi.c                 | 1 -
 drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c          | 1 -
 drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c        | 1 -
 drivers/media/platform/nxp/mx2_emmaprp.c                    | 1 -
 drivers/media/platform/qcom/camss/camss-video.c             | 1 -
 drivers/media/platform/qcom/iris/iris_vidc.c                | 1 -
 drivers/media/platform/qcom/venus/vdec.c                    | 1 -
 drivers/media/platform/qcom/venus/venc.c                    | 1 -
 drivers/media/platform/raspberrypi/pisp_be/pisp_be.c        | 1 -
 drivers/media/platform/raspberrypi/rp1-cfe/cfe.c            | 1 -
 drivers/media/platform/renesas/rcar-isp/core-io.c           | 1 -
 drivers/media/platform/renesas/rcar-vin/rcar-v4l2.c         | 1 -
 drivers/media/platform/renesas/rcar_drif.c                  | 1 -
 drivers/media/platform/renesas/rcar_fdp1.c                  | 1 -
 drivers/media/platform/renesas/rcar_jpu.c                   | 1 -
 drivers/media/platform/renesas/renesas-ceu.c                | 1 -
 drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c      | 1 -
 drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c  | 1 -
 drivers/media/platform/renesas/sh_vou.c                     | 1 -
 drivers/media/platform/renesas/vsp1/vsp1_histo.c            | 1 -
 drivers/media/platform/renesas/vsp1/vsp1_video.c            | 1 -
 drivers/media/platform/rockchip/rga/rga.c                   | 1 -
 drivers/media/platform/rockchip/rkvdec/rkvdec.c             | 1 -
 drivers/media/platform/samsung/exynos-gsc/gsc-m2m.c         | 1 -
 drivers/media/platform/samsung/exynos4-is/fimc-capture.c    | 1 -
 drivers/media/platform/samsung/exynos4-is/fimc-isp-video.c  | 1 -
 drivers/media/platform/samsung/exynos4-is/fimc-lite.c       | 1 -
 drivers/media/platform/samsung/exynos4-is/fimc-m2m.c        | 1 -
 drivers/media/platform/samsung/s3c-camif/camif-capture.c    | 1 -
 drivers/media/platform/samsung/s5p-g2d/g2d.c                | 1 -
 drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c         | 1 -
 drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c            | 1 -
 drivers/media/platform/st/sti/bdisp/bdisp-v4l2.c            | 1 -
 drivers/media/platform/st/sti/delta/delta-v4l2.c            | 1 -
 drivers/media/platform/st/sti/hva/hva-v4l2.c                | 1 -
 drivers/media/platform/st/stm32/dma2d/dma2d.c               | 1 -
 drivers/media/platform/st/stm32/stm32-dcmi.c                | 1 -
 .../media/platform/st/stm32/stm32-dcmipp/dcmipp-capture.c   | 1 -
 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c         | 1 -
 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c  | 1 -
 drivers/media/platform/sunxi/sun8i-di/sun8i-di.c            | 1 -
 drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c    | 1 -
 drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c        | 1 -
 drivers/media/platform/ti/am437x/am437x-vpfe.c              | 1 -
 drivers/media/platform/ti/cal/cal-video.c                   | 1 -
 drivers/media/platform/ti/davinci/vpif_capture.c            | 1 -
 drivers/media/platform/ti/davinci/vpif_display.c            | 1 -
 drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c       | 1 -
 drivers/media/platform/ti/omap/omap_vout.c                  | 1 -
 drivers/media/platform/ti/omap3isp/ispvideo.c               | 1 -
 drivers/media/platform/ti/vpe/vip.c                         | 1 -
 drivers/media/platform/ti/vpe/vpe.c                         | 1 -
 drivers/media/platform/verisilicon/hantro_drv.c             | 1 -
 drivers/media/platform/via/via-camera.c                     | 1 -
 drivers/media/platform/xilinx/xilinx-dma.c                  | 1 -
 drivers/media/radio/dsbr100.c                               | 1 -
 drivers/media/radio/radio-cadet.c                           | 1 -
 drivers/media/radio/radio-isa.c                             | 1 -
 drivers/media/radio/radio-keene.c                           | 1 -
 drivers/media/radio/radio-ma901.c                           | 1 -
 drivers/media/radio/radio-miropcm20.c                       | 1 -
 drivers/media/radio/radio-mr800.c                           | 1 -
 drivers/media/radio/radio-raremono.c                        | 1 -
 drivers/media/radio/radio-sf16fmi.c                         | 1 -
 drivers/media/radio/radio-si476x.c                          | 1 -
 drivers/media/radio/radio-tea5764.c                         | 1 -
 drivers/media/radio/radio-timb.c                            | 1 -
 drivers/media/radio/si470x/radio-si470x-common.c            | 1 -
 drivers/media/radio/si4713/radio-platform-si4713.c          | 1 -
 drivers/media/radio/si4713/radio-usb-si4713.c               | 1 -
 drivers/media/test-drivers/vicodec/vicodec-core.c           | 1 -
 drivers/media/test-drivers/vim2m.c                          | 1 -
 drivers/media/test-drivers/vimc/vimc-capture.c              | 1 -
 drivers/media/test-drivers/visl/visl-core.c                 | 1 -
 drivers/media/test-drivers/vivid/vivid-core.c               | 2 --
 drivers/media/usb/airspy/airspy.c                           | 1 -
 drivers/media/usb/au0828/au0828-video.c                     | 1 -
 drivers/media/usb/cx231xx/cx231xx-417.c                     | 1 -
 drivers/media/usb/cx231xx/cx231xx-video.c                   | 2 --
 drivers/media/usb/dvb-usb/cxusb-analog.c                    | 2 --
 drivers/media/usb/em28xx/em28xx-video.c                     | 2 --
 drivers/media/usb/go7007/go7007-v4l2.c                      | 1 -
 drivers/media/usb/gspca/gspca.c                             | 1 -
 drivers/media/usb/hackrf/hackrf.c                           | 1 -
 drivers/media/usb/hdpvr/hdpvr-video.c                       | 1 -
 drivers/media/usb/msi2500/msi2500.c                         | 1 -
 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c                    | 1 -
 drivers/media/usb/pwc/pwc-if.c                              | 1 -
 drivers/media/usb/s2255/s2255drv.c                          | 1 -
 drivers/media/usb/stk1160/stk1160-v4l.c                     | 1 -
 drivers/media/usb/usb3hdcap/usb3hdcap-core.c                | 1 -
 drivers/media/usb/usbtv/usbtv-video.c                       | 1 -
 drivers/media/usb/uvc/uvc_metadata.c                        | 1 -
 drivers/media/usb/uvc/uvc_v4l2.c                            | 1 -
 drivers/media/v4l2-core/v4l2-subdev.c                       | 1 -
 drivers/staging/media/atomisp/pci/atomisp_fops.c            | 1 -
 drivers/staging/media/imx/imx-media-capture.c               | 1 -
 drivers/staging/media/imx/imx-media-csc-scaler.c            | 1 -
 drivers/staging/media/ipu7/ipu7-isys-video.c                | 1 -
 drivers/staging/media/meson/vdec/vdec.c                     | 1 -
 drivers/staging/media/sunxi/cedrus/cedrus.c                 | 1 -
 drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c   | 1 -
 drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c    | 1 -
 drivers/staging/media/tegra-video/vi.c                      | 1 -
 drivers/staging/most/video/video.c                          | 1 -
 drivers/usb/gadget/function/uvc_v4l2.c                      | 1 -
 include/media/v4l2-dev.h                                    | 6 ++----
 samples/v4l/v4l2-pci-skeleton.c                             | 1 -
 169 files changed, 2 insertions(+), 185 deletions(-)

diff --git a/drivers/input/rmi4/rmi_f54.c b/drivers/input/rmi4/rmi_f54.c
index 6c6cdec7da9e..d3537410ed81 100644
--- a/drivers/input/rmi4/rmi_f54.c
+++ b/drivers/input/rmi4/rmi_f54.c
@@ -273,7 +273,6 @@ static int rmi_f54_get_pixel_fmt(enum rmi_f54_report_type reptype, u32 *pixfmt)
 }
 
 static const struct v4l2_file_operations rmi_f54_video_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index 522e1ea405a6..46f8a7df36c6 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -2346,7 +2346,6 @@ static int mxt_init_t7_power_cfg(struct mxt_data *data)
 
 #ifdef CONFIG_TOUCHSCREEN_ATMEL_MXT_T37
 static const struct v4l2_file_operations mxt_video_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/input/touchscreen/sur40.c b/drivers/input/touchscreen/sur40.c
index 09d8c5f8d09f..eeeb9871c384 100644
--- a/drivers/input/touchscreen/sur40.c
+++ b/drivers/input/touchscreen/sur40.c
@@ -1128,7 +1128,6 @@ static const struct vb2_queue sur40_queue = {
 };
 
 static const struct v4l2_file_operations sur40_video_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c b/drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c
index 724709606a0b..d9b6d0e830e2 100644
--- a/drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c
+++ b/drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c
@@ -1333,7 +1333,6 @@ static const struct v4l2_ioctl_ops extron_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations extron_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= v4l2_fh_release,
 	.poll		= v4l2_ctrl_poll,
diff --git a/drivers/media/common/saa7146/saa7146_fops.c b/drivers/media/common/saa7146/saa7146_fops.c
index fe5c376d397a..0a86711b4c3d 100644
--- a/drivers/media/common/saa7146/saa7146_fops.c
+++ b/drivers/media/common/saa7146/saa7146_fops.c
@@ -197,7 +197,6 @@ static ssize_t fops_write(struct file *file, const char __user *data, size_t cou
 
 static const struct v4l2_file_operations video_fops =
 {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
 	.read		= vb2_fop_read,
diff --git a/drivers/media/dvb-frontends/rtl2832_sdr.c b/drivers/media/dvb-frontends/rtl2832_sdr.c
index 0330e7f0881a..580e8ad784c5 100644
--- a/drivers/media/dvb-frontends/rtl2832_sdr.c
+++ b/drivers/media/dvb-frontends/rtl2832_sdr.c
@@ -1232,7 +1232,6 @@ static const struct v4l2_ioctl_ops rtl2832_sdr_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations rtl2832_sdr_fops = {
-	.owner                    = THIS_MODULE,
 	.open                     = v4l2_fh_open,
 	.release                  = vb2_fop_release,
 	.read                     = vb2_fop_read,
diff --git a/drivers/media/i2c/video-i2c.c b/drivers/media/i2c/video-i2c.c
index 4811a0489524..deb7048ffc5f 100644
--- a/drivers/media/i2c/video-i2c.c
+++ b/drivers/media/i2c/video-i2c.c
@@ -378,7 +378,6 @@ static const struct video_i2c_chip video_i2c_chip[] = {
 };
 
 static const struct v4l2_file_operations video_i2c_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c
index 8b9ca59f9434..9a4b86a2aeb8 100644
--- a/drivers/media/pci/bt8xx/bttv-driver.c
+++ b/drivers/media/pci/bt8xx/bttv-driver.c
@@ -2306,7 +2306,6 @@ static int bttv_s_selection(struct file *file, void *priv, struct v4l2_selection
 
 static const struct v4l2_file_operations bttv_fops =
 {
-	.owner		  = THIS_MODULE,
 	.open		  = v4l2_fh_open,
 	.release	  = vb2_fop_release,
 	.unlocked_ioctl	  = video_ioctl2,
@@ -2489,7 +2488,6 @@ static __poll_t radio_poll(struct file *file, poll_table *wait)
 
 static const struct v4l2_file_operations radio_fops =
 {
-	.owner	  = THIS_MODULE,
 	.open	  = radio_open,
 	.read     = radio_read,
 	.release  = radio_release,
diff --git a/drivers/media/pci/cobalt/cobalt-v4l2.c b/drivers/media/pci/cobalt/cobalt-v4l2.c
index ad89e62a2747..2bfe1d82b8f8 100644
--- a/drivers/media/pci/cobalt/cobalt-v4l2.c
+++ b/drivers/media/pci/cobalt/cobalt-v4l2.c
@@ -1169,7 +1169,6 @@ static const struct v4l2_ioctl_ops cobalt_ioctl_empty_ops = {
 /* Register device nodes */
 
 static const struct v4l2_file_operations cobalt_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.unlocked_ioctl = video_ioctl2,
 	.release = vb2_fop_release,
@@ -1179,7 +1178,6 @@ static const struct v4l2_file_operations cobalt_fops = {
 };
 
 static const struct v4l2_file_operations cobalt_out_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.unlocked_ioctl = video_ioctl2,
 	.release = vb2_fop_release,
@@ -1189,7 +1187,6 @@ static const struct v4l2_file_operations cobalt_out_fops = {
 };
 
 static const struct v4l2_file_operations cobalt_empty_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.unlocked_ioctl = video_ioctl2,
 	.release = v4l2_fh_release,
diff --git a/drivers/media/pci/cx18/cx18-streams.c b/drivers/media/pci/cx18/cx18-streams.c
index 5da1a5d69eed..2220134f0883 100644
--- a/drivers/media/pci/cx18/cx18-streams.c
+++ b/drivers/media/pci/cx18/cx18-streams.c
@@ -23,7 +23,6 @@
 #define CX18_DSP0_INTERRUPT_MASK	0xd0004C
 
 static const struct v4l2_file_operations cx18_v4l2_enc_fops = {
-	.owner = THIS_MODULE,
 	.read = cx18_v4l2_read,
 	.open = cx18_v4l2_open,
 	.unlocked_ioctl = video_ioctl2,
@@ -32,7 +31,6 @@ static const struct v4l2_file_operations cx18_v4l2_enc_fops = {
 };
 
 static const struct v4l2_file_operations cx18_v4l2_enc_yuv_fops = {
-	.owner = THIS_MODULE,
 	.open = cx18_v4l2_open,
 	.unlocked_ioctl = video_ioctl2,
 	.release = cx18_v4l2_close,
diff --git a/drivers/media/pci/cx23885/cx23885-417.c b/drivers/media/pci/cx23885/cx23885-417.c
index 13fbb1588e5c..58814e9d4632 100644
--- a/drivers/media/pci/cx23885/cx23885-417.c
+++ b/drivers/media/pci/cx23885/cx23885-417.c
@@ -1404,7 +1404,6 @@ static int vidioc_log_status(struct file *file, void *priv)
 }
 
 static const struct v4l2_file_operations mpeg_fops = {
-	.owner	       = THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = vb2_fop_release,
 	.read           = vb2_fop_read,
diff --git a/drivers/media/pci/cx23885/cx23885-video.c b/drivers/media/pci/cx23885/cx23885-video.c
index 94ce00154e1f..14360bbe2b66 100644
--- a/drivers/media/pci/cx23885/cx23885-video.c
+++ b/drivers/media/pci/cx23885/cx23885-video.c
@@ -1152,7 +1152,6 @@ int cx23885_video_irq(struct cx23885_dev *dev, u32 status)
 /* exported stuff                                              */
 
 static const struct v4l2_file_operations video_fops = {
-	.owner	       = THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = vb2_fop_release,
 	.read           = vb2_fop_read,
diff --git a/drivers/media/pci/cx25821/cx25821-video.c b/drivers/media/pci/cx25821/cx25821-video.c
index 84aa7efc50d5..9c5a568e7004 100644
--- a/drivers/media/pci/cx25821/cx25821-video.c
+++ b/drivers/media/pci/cx25821/cx25821-video.c
@@ -574,7 +574,6 @@ static const struct v4l2_ctrl_ops cx25821_ctrl_ops = {
 };
 
 static const struct v4l2_file_operations video_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release        = vb2_fop_release,
 	.read           = vb2_fop_read,
@@ -619,7 +618,6 @@ static const struct video_device cx25821_video_device = {
 };
 
 static const struct v4l2_file_operations video_out_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release        = vb2_fop_release,
 	.write          = vb2_fop_write,
diff --git a/drivers/media/pci/cx88/cx88-blackbird.c b/drivers/media/pci/cx88/cx88-blackbird.c
index 13b8cc46835b..7604178fe236 100644
--- a/drivers/media/pci/cx88/cx88-blackbird.c
+++ b/drivers/media/pci/cx88/cx88-blackbird.c
@@ -1026,7 +1026,6 @@ static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id)
 }
 
 static const struct v4l2_file_operations mpeg_fops = {
-	.owner	       = THIS_MODULE,
 	.open	       = v4l2_fh_open,
 	.release       = vb2_fop_release,
 	.read	       = vb2_fop_read,
diff --git a/drivers/media/pci/cx88/cx88-video.c b/drivers/media/pci/cx88/cx88-video.c
index f8f2843495f3..30e586ec72e7 100644
--- a/drivers/media/pci/cx88/cx88-video.c
+++ b/drivers/media/pci/cx88/cx88-video.c
@@ -1129,7 +1129,6 @@ static irqreturn_t cx8800_irq(int irq, void *dev_id)
 /* exported stuff                                              */
 
 static const struct v4l2_file_operations video_fops = {
-	.owner	       = THIS_MODULE,
 	.open	       = v4l2_fh_open,
 	.release       = vb2_fop_release,
 	.read	       = vb2_fop_read,
@@ -1208,7 +1207,6 @@ static const struct video_device cx8800_vbi_template = {
 };
 
 static const struct v4l2_file_operations radio_fops = {
-	.owner         = THIS_MODULE,
 	.open          = radio_open,
 	.poll          = v4l2_ctrl_poll,
 	.release       = v4l2_fh_release,
diff --git a/drivers/media/pci/dt3155/dt3155.c b/drivers/media/pci/dt3155/dt3155.c
index 660aab6b62e0..1866d8ea7ddb 100644
--- a/drivers/media/pci/dt3155/dt3155.c
+++ b/drivers/media/pci/dt3155/dt3155.c
@@ -276,7 +276,6 @@ static irqreturn_t dt3155_irq_handler_even(int irq, void *dev_id)
 }
 
 static const struct v4l2_file_operations dt3155_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/pci/hws/hws_video.c b/drivers/media/pci/hws/hws_video.c
index dbe0fc2a66b5..a75a5e2e0ae6 100644
--- a/drivers/media/pci/hws/hws_video.c
+++ b/drivers/media/pci/hws/hws_video.c
@@ -976,7 +976,6 @@ static int hws_open(struct file *file)
 }
 
 static const struct v4l2_file_operations hws_fops = {
-	.owner = THIS_MODULE,
 	.open = hws_open,
 	.release = vb2_fop_release,
 	.poll = vb2_fop_poll,
diff --git a/drivers/media/pci/intel/ipu3/ipu3-cio2.c b/drivers/media/pci/intel/ipu3/ipu3-cio2.c
index 4d2b231291f5..d40ee28d650f 100644
--- a/drivers/media/pci/intel/ipu3/ipu3-cio2.c
+++ b/drivers/media/pci/intel/ipu3/ipu3-cio2.c
@@ -1160,7 +1160,6 @@ cio2_video_s_input(struct file *file, void *fh, unsigned int input)
 }
 
 static const struct v4l2_file_operations cio2_v4l2_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
diff --git a/drivers/media/pci/intel/ipu6/ipu6-isys-video.c b/drivers/media/pci/intel/ipu6/ipu6-isys-video.c
index 655728e16500..ef2a5898c815 100644
--- a/drivers/media/pci/intel/ipu6/ipu6-isys-video.c
+++ b/drivers/media/pci/intel/ipu6/ipu6-isys-video.c
@@ -816,7 +816,6 @@ static const struct media_entity_operations entity_ops = {
 };
 
 static const struct v4l2_file_operations isys_fops = {
-	.owner = THIS_MODULE,
 	.poll = vb2_fop_poll,
 	.unlocked_ioctl = video_ioctl2,
 	.mmap = vb2_fop_mmap,
diff --git a/drivers/media/pci/ivtv/ivtv-streams.c b/drivers/media/pci/ivtv/ivtv-streams.c
index d98fe0c9d9f1..773aaa3b2363 100644
--- a/drivers/media/pci/ivtv/ivtv-streams.c
+++ b/drivers/media/pci/ivtv/ivtv-streams.c
@@ -33,7 +33,6 @@
 #include <media/v4l2-event.h>
 
 static const struct v4l2_file_operations ivtv_v4l2_enc_fops = {
-	.owner = THIS_MODULE,
 	.read = ivtv_v4l2_read,
 	.write = ivtv_v4l2_write,
 	.open = ivtv_v4l2_open,
@@ -46,7 +45,6 @@ static const struct v4l2_file_operations ivtv_v4l2_enc_fops = {
 };
 
 static const struct v4l2_file_operations ivtv_v4l2_dec_fops = {
-	.owner = THIS_MODULE,
 	.read = ivtv_v4l2_read,
 	.write = ivtv_v4l2_write,
 	.open = ivtv_v4l2_open,
@@ -59,7 +57,6 @@ static const struct v4l2_file_operations ivtv_v4l2_dec_fops = {
 };
 
 static const struct v4l2_file_operations ivtv_v4l2_radio_fops = {
-	.owner = THIS_MODULE,
 	.open = ivtv_v4l2_open,
 	.unlocked_ioctl = video_ioctl2,
 #ifdef CONFIG_COMPAT
diff --git a/drivers/media/pci/mgb4/mgb4_vin.c b/drivers/media/pci/mgb4/mgb4_vin.c
index ce0fd9cf4b2a..78554ecf0cda 100644
--- a/drivers/media/pci/mgb4/mgb4_vin.c
+++ b/drivers/media/pci/mgb4/mgb4_vin.c
@@ -367,7 +367,6 @@ static int fh_open(struct file *file)
 }
 
 static const struct v4l2_file_operations video_fops = {
-	.owner = THIS_MODULE,
 	.open = fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/pci/mgb4/mgb4_vout.c b/drivers/media/pci/mgb4/mgb4_vout.c
index 3bfc7cca129f..509e34088c3e 100644
--- a/drivers/media/pci/mgb4/mgb4_vout.c
+++ b/drivers/media/pci/mgb4/mgb4_vout.c
@@ -588,7 +588,6 @@ static int fh_open(struct file *file)
 }
 
 static const struct v4l2_file_operations video_fops = {
-	.owner = THIS_MODULE,
 	.open = fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/pci/saa7134/saa7134-empress.c b/drivers/media/pci/saa7134/saa7134-empress.c
index d04a68bb05d8..72db37563656 100644
--- a/drivers/media/pci/saa7134/saa7134-empress.c
+++ b/drivers/media/pci/saa7134/saa7134-empress.c
@@ -157,7 +157,6 @@ static int empress_try_fmt_vid_cap(struct file *file, void *priv,
 
 static const struct v4l2_file_operations ts_fops =
 {
-	.owner	  = THIS_MODULE,
 	.open	  = v4l2_fh_open,
 	.release  = vb2_fop_release,
 	.read	  = vb2_fop_read,
diff --git a/drivers/media/pci/saa7134/saa7134-video.c b/drivers/media/pci/saa7134/saa7134-video.c
index 2b1672737d84..3c9fe0f3ccb2 100644
--- a/drivers/media/pci/saa7134/saa7134-video.c
+++ b/drivers/media/pci/saa7134/saa7134-video.c
@@ -1506,7 +1506,6 @@ static int radio_s_tuner(struct file *file, void *priv,
 
 static const struct v4l2_file_operations video_fops =
 {
-	.owner	  = THIS_MODULE,
 	.open	  = video_open,
 	.release  = video_release,
 	.read	  = vb2_fop_read,
@@ -1554,7 +1553,6 @@ static const struct v4l2_ioctl_ops video_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations radio_fops = {
-	.owner	  = THIS_MODULE,
 	.open	  = video_open,
 	.read     = radio_read,
 	.release  = video_release,
diff --git a/drivers/media/pci/saa7164/saa7164-encoder.c b/drivers/media/pci/saa7164/saa7164-encoder.c
index 64380741b984..ac9147a6a1f7 100644
--- a/drivers/media/pci/saa7164/saa7164-encoder.c
+++ b/drivers/media/pci/saa7164/saa7164-encoder.c
@@ -928,7 +928,6 @@ static const struct v4l2_ctrl_ops saa7164_ctrl_ops = {
 };
 
 static const struct v4l2_file_operations mpeg_fops = {
-	.owner		= THIS_MODULE,
 	.open		= fops_open,
 	.release	= fops_release,
 	.read		= fops_read,
diff --git a/drivers/media/pci/saa7164/saa7164-vbi.c b/drivers/media/pci/saa7164/saa7164-vbi.c
index bfa6ee295a22..c3b803fe7d18 100644
--- a/drivers/media/pci/saa7164/saa7164-vbi.c
+++ b/drivers/media/pci/saa7164/saa7164-vbi.c
@@ -634,7 +634,6 @@ static __poll_t fops_poll(struct file *file, poll_table *wait)
 	return mask;
 }
 static const struct v4l2_file_operations vbi_fops = {
-	.owner		= THIS_MODULE,
 	.open		= fops_open,
 	.release	= fops_release,
 	.read		= fops_read,
diff --git a/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c b/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c
index 91b5c4161930..7b2259446ac1 100644
--- a/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c
+++ b/drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c
@@ -1126,7 +1126,6 @@ static int solo_subscribe_event(struct v4l2_fh *fh,
 }
 
 static const struct v4l2_file_operations solo_enc_fops = {
-	.owner			= THIS_MODULE,
 	.open			= v4l2_fh_open,
 	.release		= vb2_fop_release,
 	.read			= vb2_fop_read,
diff --git a/drivers/media/pci/solo6x10/solo6x10-v4l2.c b/drivers/media/pci/solo6x10/solo6x10-v4l2.c
index 35715b21dbdf..e9c98d42d46e 100644
--- a/drivers/media/pci/solo6x10/solo6x10-v4l2.c
+++ b/drivers/media/pci/solo6x10/solo6x10-v4l2.c
@@ -573,7 +573,6 @@ static int solo_s_ctrl(struct v4l2_ctrl *ctrl)
 }
 
 static const struct v4l2_file_operations solo_v4l2_fops = {
-	.owner			= THIS_MODULE,
 	.open			= v4l2_fh_open,
 	.release		= vb2_fop_release,
 	.read			= vb2_fop_read,
diff --git a/drivers/media/pci/tw5864/tw5864-video.c b/drivers/media/pci/tw5864/tw5864-video.c
index 0a08708e52b0..f7f062ab7a8b 100644
--- a/drivers/media/pci/tw5864/tw5864-video.c
+++ b/drivers/media/pci/tw5864/tw5864-video.c
@@ -829,7 +829,6 @@ static const struct v4l2_ctrl_ops tw5864_ctrl_ops = {
 };
 
 static const struct v4l2_file_operations video_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.read = vb2_fop_read,
diff --git a/drivers/media/pci/tw68/tw68-video.c b/drivers/media/pci/tw68/tw68-video.c
index 8e9ce000c616..a4883da016c7 100644
--- a/drivers/media/pci/tw68/tw68-video.c
+++ b/drivers/media/pci/tw68/tw68-video.c
@@ -857,7 +857,6 @@ static const struct v4l2_ctrl_ops tw68_ctrl_ops = {
 };
 
 static const struct v4l2_file_operations video_fops = {
-	.owner			= THIS_MODULE,
 	.open			= v4l2_fh_open,
 	.release		= vb2_fop_release,
 	.read			= vb2_fop_read,
diff --git a/drivers/media/pci/tw686x/tw686x-video.c b/drivers/media/pci/tw686x/tw686x-video.c
index 3ffbf462d353..833adbc3ee8a 100644
--- a/drivers/media/pci/tw686x/tw686x-video.c
+++ b/drivers/media/pci/tw686x/tw686x-video.c
@@ -1037,7 +1037,6 @@ static int tw686x_enum_input(struct file *file, void *priv,
 }
 
 static const struct v4l2_file_operations tw686x_video_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.unlocked_ioctl	= video_ioctl2,
 	.release	= vb2_fop_release,
diff --git a/drivers/media/pci/zoran/zoran_driver.c b/drivers/media/pci/zoran/zoran_driver.c
index ec8ed5601f50..cb75d4926b5e 100644
--- a/drivers/media/pci/zoran/zoran_driver.c
+++ b/drivers/media/pci/zoran/zoran_driver.c
@@ -717,7 +717,6 @@ static const struct v4l2_ioctl_ops zoran_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations zoran_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
diff --git a/drivers/media/platform/allegro-dvt/allegro-core.c b/drivers/media/platform/allegro-dvt/allegro-core.c
index 4f3299a66b37..750f55b95a25 100644
--- a/drivers/media/platform/allegro-dvt/allegro-core.c
+++ b/drivers/media/platform/allegro-dvt/allegro-core.c
@@ -3648,7 +3648,6 @@ static const struct v4l2_ioctl_ops allegro_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations allegro_fops = {
-	.owner = THIS_MODULE,
 	.open = allegro_open,
 	.release = allegro_release,
 	.poll = v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/amd/isp4/isp4_video.c b/drivers/media/platform/amd/isp4/isp4_video.c
index 856a2a0b4a12..88d78733b411 100644
--- a/drivers/media/platform/amd/isp4/isp4_video.c
+++ b/drivers/media/platform/amd/isp4/isp4_video.c
@@ -115,7 +115,6 @@ static const struct media_entity_operations isp4vid_vdev_ent_ops = {
 };
 
 static const struct v4l2_file_operations isp4vid_vdev_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.read = vb2_fop_read,
diff --git a/drivers/media/platform/amlogic/meson-ge2d/ge2d.c b/drivers/media/platform/amlogic/meson-ge2d/ge2d.c
index c5dc03905ce0..2150a2249dee 100644
--- a/drivers/media/platform/amlogic/meson-ge2d/ge2d.c
+++ b/drivers/media/platform/amlogic/meson-ge2d/ge2d.c
@@ -888,7 +888,6 @@ static int ge2d_release(struct file *file)
 }
 
 static const struct v4l2_file_operations ge2d_fops = {
-	.owner = THIS_MODULE,
 	.open = ge2d_open,
 	.release = ge2d_release,
 	.poll = v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/amphion/vdec.c b/drivers/media/platform/amphion/vdec.c
index 75808482d090..ab578e7f2f57 100644
--- a/drivers/media/platform/amphion/vdec.c
+++ b/drivers/media/platform/amphion/vdec.c
@@ -1965,7 +1965,6 @@ static int vdec_open(struct file *file)
 }
 
 static const struct v4l2_file_operations vdec_fops = {
-	.owner = THIS_MODULE,
 	.open = vdec_open,
 	.release = vpu_v4l2_close,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/amphion/venc.c b/drivers/media/platform/amphion/venc.c
index 2ba4ae20f829..33cadcf8b7d1 100644
--- a/drivers/media/platform/amphion/venc.c
+++ b/drivers/media/platform/amphion/venc.c
@@ -1334,7 +1334,6 @@ static int venc_open(struct file *file)
 }
 
 static const struct v4l2_file_operations venc_fops = {
-	.owner = THIS_MODULE,
 	.open = venc_open,
 	.release = vpu_v4l2_close,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/arm/mali-c55/mali-c55-capture.c b/drivers/media/platform/arm/mali-c55/mali-c55-capture.c
index d6f155dd5255..97587d493241 100644
--- a/drivers/media/platform/arm/mali-c55/mali-c55-capture.c
+++ b/drivers/media/platform/arm/mali-c55/mali-c55-capture.c
@@ -668,7 +668,6 @@ static const struct vb2_ops mali_c55_vb2_ops = {
 };
 
 static const struct v4l2_file_operations mali_c55_v4l2_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
diff --git a/drivers/media/platform/arm/mali-c55/mali-c55-params.c b/drivers/media/platform/arm/mali-c55/mali-c55-params.c
index 4c358cd9460a..ccda015c74ea 100644
--- a/drivers/media/platform/arm/mali-c55/mali-c55-params.c
+++ b/drivers/media/platform/arm/mali-c55/mali-c55-params.c
@@ -652,7 +652,6 @@ static const struct v4l2_ioctl_ops mali_c55_params_v4l2_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations mali_c55_params_v4l2_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
diff --git a/drivers/media/platform/arm/mali-c55/mali-c55-stats.c b/drivers/media/platform/arm/mali-c55/mali-c55-stats.c
index b2ec5b47c039..919b8cbc1855 100644
--- a/drivers/media/platform/arm/mali-c55/mali-c55-stats.c
+++ b/drivers/media/platform/arm/mali-c55/mali-c55-stats.c
@@ -83,7 +83,6 @@ static const struct v4l2_ioctl_ops mali_c55_stats_v4l2_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations mali_c55_stats_v4l2_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
diff --git a/drivers/media/platform/aspeed/aspeed-video.c b/drivers/media/platform/aspeed/aspeed-video.c
index e81a7c2a769c..71c79c126c17 100644
--- a/drivers/media/platform/aspeed/aspeed-video.c
+++ b/drivers/media/platform/aspeed/aspeed-video.c
@@ -1916,7 +1916,6 @@ static int aspeed_video_release(struct file *file)
 }
 
 static const struct v4l2_file_operations aspeed_video_v4l2_fops = {
-	.owner = THIS_MODULE,
 	.read = vb2_fop_read,
 	.poll = vb2_fop_poll,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/atmel/atmel-isi.c b/drivers/media/platform/atmel/atmel-isi.c
index fa33d11f736f..e6df63883806 100644
--- a/drivers/media/platform/atmel/atmel-isi.c
+++ b/drivers/media/platform/atmel/atmel-isi.c
@@ -957,7 +957,6 @@ static const struct v4l2_ioctl_ops isi_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations isi_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.open		= isi_open,
 	.release	= isi_release,
diff --git a/drivers/media/platform/broadcom/bcm2835-unicam.c b/drivers/media/platform/broadcom/bcm2835-unicam.c
index e7c708cdd7f8..bad08f0738e7 100644
--- a/drivers/media/platform/broadcom/bcm2835-unicam.c
+++ b/drivers/media/platform/broadcom/bcm2835-unicam.c
@@ -2112,7 +2112,6 @@ static const struct v4l2_ioctl_ops unicam_ioctl_ops = {
 
 /* unicam capture driver file operations */
 static const struct v4l2_file_operations unicam_fops = {
-	.owner		= THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = vb2_fop_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/media/platform/chips-media/coda/coda-common.c b/drivers/media/platform/chips-media/coda/coda-common.c
index 01e670d01219..550dfad57c22 100644
--- a/drivers/media/platform/chips-media/coda/coda-common.c
+++ b/drivers/media/platform/chips-media/coda/coda-common.c
@@ -2771,7 +2771,6 @@ static int coda_release(struct file *file)
 }
 
 static const struct v4l2_file_operations coda_fops = {
-	.owner		= THIS_MODULE,
 	.open		= coda_open,
 	.release	= coda_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c b/drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c
index 86bc36ee17fd..32e8f2f914f4 100644
--- a/drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c
+++ b/drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c
@@ -2008,7 +2008,6 @@ static int wave5_vpu_dec_release(struct file *filp)
 }
 
 static const struct v4l2_file_operations wave5_vpu_dec_fops = {
-	.owner = THIS_MODULE,
 	.open = wave5_vpu_open_dec,
 	.release = wave5_vpu_dec_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c b/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c
index f9fcdf4c224b..99d91f1f0f66 100644
--- a/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c
+++ b/drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c
@@ -1818,7 +1818,6 @@ static int wave5_vpu_enc_release(struct file *filp)
 }
 
 static const struct v4l2_file_operations wave5_vpu_enc_fops = {
-	.owner = THIS_MODULE,
 	.open = wave5_vpu_open_enc,
 	.release = wave5_vpu_enc_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/imagination/e5010-jpeg-enc.c b/drivers/media/platform/imagination/e5010-jpeg-enc.c
index 3c7c5f121a32..26ab0c4046ca 100644
--- a/drivers/media/platform/imagination/e5010-jpeg-enc.c
+++ b/drivers/media/platform/imagination/e5010-jpeg-enc.c
@@ -1617,7 +1617,6 @@ static const struct vb2_ops e5010_video_ops = {
 };
 
 static const struct v4l2_file_operations e5010_fops = {
-	.owner = THIS_MODULE,
 	.open = e5010_open,
 	.release = e5010_release,
 	.poll = v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/intel/pxa_camera.c b/drivers/media/platform/intel/pxa_camera.c
index 99a0c00951e8..86e9a131e927 100644
--- a/drivers/media/platform/intel/pxa_camera.c
+++ b/drivers/media/platform/intel/pxa_camera.c
@@ -2000,7 +2000,6 @@ static int pxac_fops_camera_release(struct file *filp)
 }
 
 static const struct v4l2_file_operations pxa_camera_fops = {
-	.owner		= THIS_MODULE,
 	.open		= pxac_fops_camera_open,
 	.release	= pxac_fops_camera_release,
 	.read		= vb2_fop_read,
diff --git a/drivers/media/platform/m2m-deinterlace.c b/drivers/media/platform/m2m-deinterlace.c
index 165b9e356743..66aed03a97c4 100644
--- a/drivers/media/platform/m2m-deinterlace.c
+++ b/drivers/media/platform/m2m-deinterlace.c
@@ -881,7 +881,6 @@ static int deinterlace_release(struct file *file)
 }
 
 static const struct v4l2_file_operations deinterlace_fops = {
-	.owner		= THIS_MODULE,
 	.open		= deinterlace_open,
 	.release	= deinterlace_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/marvell/mcam-core.c b/drivers/media/platform/marvell/mcam-core.c
index 554aa135f9fd..b624573d3aae 100644
--- a/drivers/media/platform/marvell/mcam-core.c
+++ b/drivers/media/platform/marvell/mcam-core.c
@@ -1651,7 +1651,6 @@ static int mcam_v4l_release(struct file *filp)
 }
 
 static const struct v4l2_file_operations mcam_v4l_fops = {
-	.owner = THIS_MODULE,
 	.open = mcam_v4l_open,
 	.release = mcam_v4l_release,
 	.read = vb2_fop_read,
diff --git a/drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c b/drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
index deb515641521..43d151f0754e 100644
--- a/drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
+++ b/drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
@@ -1215,7 +1215,6 @@ static int mtk_jpeg_release(struct file *file)
 }
 
 static const struct v4l2_file_operations mtk_jpeg_fops = {
-	.owner          = THIS_MODULE,
 	.open           = mtk_jpeg_open,
 	.release        = mtk_jpeg_release,
 	.poll           = v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c b/drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c
index d2813890cceb..730bd69ef074 100644
--- a/drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c
+++ b/drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c
@@ -1158,7 +1158,6 @@ static int mtk_mdp_m2m_release(struct file *file)
 }
 
 static const struct v4l2_file_operations mtk_mdp_m2m_fops = {
-	.owner		= THIS_MODULE,
 	.open		= mtk_mdp_m2m_open,
 	.release	= mtk_mdp_m2m_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c b/drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c
index ad3ae89c231c..020a494560df 100644
--- a/drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c
+++ b/drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c
@@ -664,7 +664,6 @@ static int mdp_m2m_release(struct file *file)
 }
 
 static const struct v4l2_file_operations mdp_m2m_fops = {
-	.owner		= THIS_MODULE,
 	.poll		= v4l2_m2m_fop_poll,
 	.unlocked_ioctl	= video_ioctl2,
 	.mmap		= v4l2_m2m_fop_mmap,
diff --git a/drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c b/drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
index 426d060d937c..527103dbbc27 100644
--- a/drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
+++ b/drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
@@ -323,7 +323,6 @@ static int fops_vcodec_release(struct file *file)
 }
 
 static const struct v4l2_file_operations mtk_vcodec_fops = {
-	.owner		= THIS_MODULE,
 	.open		= fops_vcodec_open,
 	.release	= fops_vcodec_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c b/drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c
index e6cd3817ab20..f81c071124bc 100644
--- a/drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c
+++ b/drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c
@@ -233,7 +233,6 @@ static int fops_vcodec_release(struct file *file)
 }
 
 static const struct v4l2_file_operations mtk_vcodec_fops = {
-	.owner		= THIS_MODULE,
 	.open		= fops_vcodec_open,
 	.release	= fops_vcodec_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/microchip/microchip-isc-base.c b/drivers/media/platform/microchip/microchip-isc-base.c
index 963d5fd53b58..2c3e2560ae46 100644
--- a/drivers/media/platform/microchip/microchip-isc-base.c
+++ b/drivers/media/platform/microchip/microchip-isc-base.c
@@ -1178,7 +1178,6 @@ static int isc_release(struct file *file)
 }
 
 static const struct v4l2_file_operations isc_fops = {
-	.owner		= THIS_MODULE,
 	.open		= isc_open,
 	.release	= isc_release,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/drivers/media/platform/nuvoton/npcm-video.c b/drivers/media/platform/nuvoton/npcm-video.c
index a6737c65d9b2..3871317c4544 100644
--- a/drivers/media/platform/nuvoton/npcm-video.c
+++ b/drivers/media/platform/nuvoton/npcm-video.c
@@ -1432,7 +1432,6 @@ static int npcm_video_release(struct file *file)
 }
 
 static const struct v4l2_file_operations npcm_video_v4l2_fops = {
-	.owner = THIS_MODULE,
 	.read = vb2_fop_read,
 	.poll = vb2_fop_poll,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/nvidia/tegra-vde/v4l2.c b/drivers/media/platform/nvidia/tegra-vde/v4l2.c
index f2ca1c7ed9ba..711b2d3019b4 100644
--- a/drivers/media/platform/nvidia/tegra-vde/v4l2.c
+++ b/drivers/media/platform/nvidia/tegra-vde/v4l2.c
@@ -867,7 +867,6 @@ static int tegra_release(struct file *file)
 }
 
 static const struct v4l2_file_operations tegra_v4l2_fops = {
-	.owner = THIS_MODULE,
 	.open = tegra_open,
 	.poll = v4l2_m2m_fop_poll,
 	.mmap = v4l2_m2m_fop_mmap,
diff --git a/drivers/media/platform/nxp/dw100/dw100.c b/drivers/media/platform/nxp/dw100/dw100.c
index 7787fdcdc67c..42a78d05cf25 100644
--- a/drivers/media/platform/nxp/dw100/dw100.c
+++ b/drivers/media/platform/nxp/dw100/dw100.c
@@ -704,7 +704,6 @@ static int dw100_release(struct file *file)
 }
 
 static const struct v4l2_file_operations dw100_fops = {
-	.owner		= THIS_MODULE,
 	.open		= dw100_open,
 	.release	= dw100_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c b/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
index 5e466ea65a92..f028af97946e 100644
--- a/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
+++ b/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
@@ -2825,7 +2825,6 @@ static int mxc_jpeg_release(struct file *file)
 }
 
 static const struct v4l2_file_operations mxc_jpeg_fops = {
-	.owner		= THIS_MODULE,
 	.open		= mxc_jpeg_open,
 	.release	= mxc_jpeg_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/nxp/imx-pxp.c b/drivers/media/platform/nxp/imx-pxp.c
index 740fcd8fb952..cb09a239322b 100644
--- a/drivers/media/platform/nxp/imx-pxp.c
+++ b/drivers/media/platform/nxp/imx-pxp.c
@@ -1723,7 +1723,6 @@ static int pxp_release(struct file *file)
 }
 
 static const struct v4l2_file_operations pxp_fops = {
-	.owner		= THIS_MODULE,
 	.open		= pxp_open,
 	.release	= pxp_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/nxp/imx7-media-csi.c b/drivers/media/platform/nxp/imx7-media-csi.c
index f06b03967aef..fb6311535c15 100644
--- a/drivers/media/platform/nxp/imx7-media-csi.c
+++ b/drivers/media/platform/nxp/imx7-media-csi.c
@@ -1558,7 +1558,6 @@ static int imx7_csi_video_release(struct file *file)
 }
 
 static const struct v4l2_file_operations imx7_csi_video_fops = {
-	.owner		= THIS_MODULE,
 	.open		= imx7_csi_video_open,
 	.release	= imx7_csi_video_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c b/drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c
index b729eecad0fe..8acfb6cac88e 100644
--- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c
+++ b/drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c
@@ -683,7 +683,6 @@ static int mxc_isi_m2m_release(struct file *file)
 }
 
 static const struct v4l2_file_operations mxc_isi_m2m_fops = {
-	.owner		= THIS_MODULE,
 	.open		= mxc_isi_m2m_open,
 	.release	= mxc_isi_m2m_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c b/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
index fc907d357149..fcb4a4698efa 100644
--- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
+++ b/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
@@ -1397,7 +1397,6 @@ static int mxc_isi_video_release(struct file *file)
 }
 
 static const struct v4l2_file_operations mxc_isi_video_fops = {
-	.owner		= THIS_MODULE,
 	.open		= mxc_isi_video_open,
 	.release	= mxc_isi_video_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/media/platform/nxp/mx2_emmaprp.c b/drivers/media/platform/nxp/mx2_emmaprp.c
index f957383e8df5..ddb01989912e 100644
--- a/drivers/media/platform/nxp/mx2_emmaprp.c
+++ b/drivers/media/platform/nxp/mx2_emmaprp.c
@@ -776,7 +776,6 @@ static int emmaprp_release(struct file *file)
 }
 
 static const struct v4l2_file_operations emmaprp_fops = {
-	.owner		= THIS_MODULE,
 	.open		= emmaprp_open,
 	.release	= emmaprp_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/qcom/camss/camss-video.c b/drivers/media/platform/qcom/camss/camss-video.c
index 678d1cae8dae..e9bd4b842526 100644
--- a/drivers/media/platform/qcom/camss/camss-video.c
+++ b/drivers/media/platform/qcom/camss/camss-video.c
@@ -631,7 +631,6 @@ static const struct v4l2_ioctl_ops msm_vid_ioctl_ops = {
  */
 
 static const struct v4l2_file_operations msm_vid_fops = {
-	.owner          = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open           = v4l2_fh_open,
 	.release        = vb2_fop_release,
diff --git a/drivers/media/platform/qcom/iris/iris_vidc.c b/drivers/media/platform/qcom/iris/iris_vidc.c
index 05aab6e3005d..4df0a19aefbe 100644
--- a/drivers/media/platform/qcom/iris/iris_vidc.c
+++ b/drivers/media/platform/qcom/iris/iris_vidc.c
@@ -660,7 +660,6 @@ static int iris_enc_cmd(struct file *filp, void *fh,
 }
 
 static const struct v4l2_file_operations iris_v4l2_file_ops = {
-	.owner                          = THIS_MODULE,
 	.open                           = iris_open,
 	.release                        = iris_close,
 	.unlocked_ioctl                 = video_ioctl2,
diff --git a/drivers/media/platform/qcom/venus/vdec.c b/drivers/media/platform/qcom/venus/vdec.c
index 6a43ea191da1..43069bd0587e 100644
--- a/drivers/media/platform/qcom/venus/vdec.c
+++ b/drivers/media/platform/qcom/venus/vdec.c
@@ -1770,7 +1770,6 @@ static int vdec_close(struct file *file)
 }
 
 static const struct v4l2_file_operations vdec_fops = {
-	.owner = THIS_MODULE,
 	.open = vdec_open,
 	.release = vdec_close,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/qcom/venus/venc.c b/drivers/media/platform/qcom/venus/venc.c
index 79acf7c1ec9a..1d61122bcb3a 100644
--- a/drivers/media/platform/qcom/venus/venc.c
+++ b/drivers/media/platform/qcom/venus/venc.c
@@ -1546,7 +1546,6 @@ static int venc_close(struct file *file)
 }
 
 static const struct v4l2_file_operations venc_fops = {
-	.owner = THIS_MODULE,
 	.open = venc_open,
 	.release = venc_close,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/raspberrypi/pisp_be/pisp_be.c b/drivers/media/platform/raspberrypi/pisp_be/pisp_be.c
index d60d92d2ffa1..82c3aa48f3fd 100644
--- a/drivers/media/platform/raspberrypi/pisp_be/pisp_be.c
+++ b/drivers/media/platform/raspberrypi/pisp_be/pisp_be.c
@@ -965,7 +965,6 @@ static const struct vb2_ops pispbe_node_queue_ops = {
 };
 
 static const struct v4l2_file_operations pispbe_fops = {
-	.owner          = THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = vb2_fop_release,
 	.poll           = vb2_fop_poll,
diff --git a/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c b/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
index 8375ed3e97b9..7f23dd31b70f 100644
--- a/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
+++ b/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
@@ -1755,7 +1755,6 @@ static void cfe_notify(struct v4l2_subdev *sd, unsigned int notification,
 
 /* cfe capture driver file operations */
 static const struct v4l2_file_operations cfe_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.poll = vb2_fop_poll,
diff --git a/drivers/media/platform/renesas/rcar-isp/core-io.c b/drivers/media/platform/renesas/rcar-isp/core-io.c
index b60b91f43d42..1181fae2adb0 100644
--- a/drivers/media/platform/renesas/rcar-isp/core-io.c
+++ b/drivers/media/platform/renesas/rcar-isp/core-io.c
@@ -75,7 +75,6 @@ static int risp_io_release(struct file *file)
 }
 
 static const struct v4l2_file_operations risp_io_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.open		= risp_io_open,
 	.release	= risp_io_release,
diff --git a/drivers/media/platform/renesas/rcar-vin/rcar-v4l2.c b/drivers/media/platform/renesas/rcar-vin/rcar-v4l2.c
index 4961d28f42c7..c4ba051f2427 100644
--- a/drivers/media/platform/renesas/rcar-vin/rcar-v4l2.c
+++ b/drivers/media/platform/renesas/rcar-vin/rcar-v4l2.c
@@ -679,7 +679,6 @@ static int rvin_release(struct file *file)
 }
 
 static const struct v4l2_file_operations rvin_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.open		= rvin_open,
 	.release	= rvin_release,
diff --git a/drivers/media/platform/renesas/rcar_drif.c b/drivers/media/platform/renesas/rcar_drif.c
index bd67e8e16f53..b10abb74b262 100644
--- a/drivers/media/platform/renesas/rcar_drif.c
+++ b/drivers/media/platform/renesas/rcar_drif.c
@@ -1045,7 +1045,6 @@ static const struct v4l2_ioctl_ops rcar_drif_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations rcar_drif_fops = {
-	.owner                    = THIS_MODULE,
 	.open                     = v4l2_fh_open,
 	.release                  = vb2_fop_release,
 	.read                     = vb2_fop_read,
diff --git a/drivers/media/platform/renesas/rcar_fdp1.c b/drivers/media/platform/renesas/rcar_fdp1.c
index 013e0666170a..4ce2be2d6df1 100644
--- a/drivers/media/platform/renesas/rcar_fdp1.c
+++ b/drivers/media/platform/renesas/rcar_fdp1.c
@@ -2172,7 +2172,6 @@ static int fdp1_release(struct file *file)
 }
 
 static const struct v4l2_file_operations fdp1_fops = {
-	.owner		= THIS_MODULE,
 	.open		= fdp1_open,
 	.release	= fdp1_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/renesas/rcar_jpu.c b/drivers/media/platform/renesas/rcar_jpu.c
index 93d54325e420..b26d4e0d4372 100644
--- a/drivers/media/platform/renesas/rcar_jpu.c
+++ b/drivers/media/platform/renesas/rcar_jpu.c
@@ -1289,7 +1289,6 @@ static int jpu_release(struct file *file)
 }
 
 static const struct v4l2_file_operations jpu_fops = {
-	.owner		= THIS_MODULE,
 	.open		= jpu_open,
 	.release	= jpu_release,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/drivers/media/platform/renesas/renesas-ceu.c b/drivers/media/platform/renesas/renesas-ceu.c
index 47b9e4753301..837c758e41fd 100644
--- a/drivers/media/platform/renesas/renesas-ceu.c
+++ b/drivers/media/platform/renesas/renesas-ceu.c
@@ -1112,7 +1112,6 @@ static int ceu_release(struct file *file)
 }
 
 static const struct v4l2_file_operations ceu_fops = {
-	.owner			= THIS_MODULE,
 	.open			= ceu_open,
 	.release		= ceu_release,
 	.unlocked_ioctl		= video_ioctl2,
diff --git a/drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c b/drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c
index a7b6dce66570..fb3a3b3bd7ec 100644
--- a/drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c
+++ b/drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c
@@ -1018,7 +1018,6 @@ static int rzg2l_cru_release(struct file *file)
 }
 
 static const struct v4l2_file_operations rzg2l_cru_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.open		= rzg2l_cru_open,
 	.release	= rzg2l_cru_release,
diff --git a/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c b/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c
index 932fed38cf3f..0814ade0edd8 100644
--- a/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c
+++ b/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c
@@ -453,7 +453,6 @@ static const struct v4l2_ioctl_ops rzv2h_ivc_v4l2_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations rzv2h_ivc_v4l2_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
diff --git a/drivers/media/platform/renesas/sh_vou.c b/drivers/media/platform/renesas/sh_vou.c
index 6d4ec80edd8f..75ac32d49ddb 100644
--- a/drivers/media/platform/renesas/sh_vou.c
+++ b/drivers/media/platform/renesas/sh_vou.c
@@ -1194,7 +1194,6 @@ static const struct v4l2_ioctl_ops sh_vou_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations sh_vou_fops = {
-	.owner		= THIS_MODULE,
 	.open		= sh_vou_open,
 	.release	= sh_vou_release,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/drivers/media/platform/renesas/vsp1/vsp1_histo.c b/drivers/media/platform/renesas/vsp1/vsp1_histo.c
index bd9efb42fd1f..1ebdb74fcb7e 100644
--- a/drivers/media/platform/renesas/vsp1/vsp1_histo.c
+++ b/drivers/media/platform/renesas/vsp1/vsp1_histo.c
@@ -488,7 +488,6 @@ static const struct v4l2_ioctl_ops histo_v4l2_ioctl_ops = {
  */
 
 static const struct v4l2_file_operations histo_v4l2_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
diff --git a/drivers/media/platform/renesas/vsp1/vsp1_video.c b/drivers/media/platform/renesas/vsp1/vsp1_video.c
index b85351986fae..a75f29bafa36 100644
--- a/drivers/media/platform/renesas/vsp1/vsp1_video.c
+++ b/drivers/media/platform/renesas/vsp1/vsp1_video.c
@@ -1074,7 +1074,6 @@ static int vsp1_video_release(struct file *file)
 }
 
 static const struct v4l2_file_operations vsp1_video_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = vsp1_video_open,
 	.release = vsp1_video_release,
diff --git a/drivers/media/platform/rockchip/rga/rga.c b/drivers/media/platform/rockchip/rga/rga.c
index 543a0da75572..25864f432e61 100644
--- a/drivers/media/platform/rockchip/rga/rga.c
+++ b/drivers/media/platform/rockchip/rga/rga.c
@@ -342,7 +342,6 @@ static int rga_release(struct file *file)
 }
 
 static const struct v4l2_file_operations rga_fops = {
-	.owner = THIS_MODULE,
 	.open = rga_open,
 	.release = rga_release,
 	.poll = v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/rockchip/rkvdec/rkvdec.c b/drivers/media/platform/rockchip/rkvdec/rkvdec.c
index 6cd7445b18c4..229b0e8a26e5 100644
--- a/drivers/media/platform/rockchip/rkvdec/rkvdec.c
+++ b/drivers/media/platform/rockchip/rkvdec/rkvdec.c
@@ -1351,7 +1351,6 @@ static int rkvdec_release(struct file *filp)
 }
 
 static const struct v4l2_file_operations rkvdec_fops = {
-	.owner = THIS_MODULE,
 	.open = rkvdec_open,
 	.release = rkvdec_release,
 	.poll = v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/samsung/exynos-gsc/gsc-m2m.c b/drivers/media/platform/samsung/exynos-gsc/gsc-m2m.c
index 3c7cc00c9803..0b6ea6e93945 100644
--- a/drivers/media/platform/samsung/exynos-gsc/gsc-m2m.c
+++ b/drivers/media/platform/samsung/exynos-gsc/gsc-m2m.c
@@ -718,7 +718,6 @@ static int gsc_m2m_mmap(struct file *file, struct vm_area_struct *vma)
 }
 
 static const struct v4l2_file_operations gsc_m2m_fops = {
-	.owner		= THIS_MODULE,
 	.open		= gsc_m2m_open,
 	.release	= gsc_m2m_release,
 	.poll		= gsc_m2m_poll,
diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-capture.c b/drivers/media/platform/samsung/exynos4-is/fimc-capture.c
index e07359813d64..7e9bf27c6d8d 100644
--- a/drivers/media/platform/samsung/exynos4-is/fimc-capture.c
+++ b/drivers/media/platform/samsung/exynos4-is/fimc-capture.c
@@ -545,7 +545,6 @@ static int fimc_capture_release(struct file *file)
 }
 
 static const struct v4l2_file_operations fimc_capture_fops = {
-	.owner		= THIS_MODULE,
 	.open		= fimc_capture_open,
 	.release	= fimc_capture_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.c b/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.c
index ad219ac1b951..cf3e72be62f2 100644
--- a/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.c
+++ b/drivers/media/platform/samsung/exynos4-is/fimc-isp-video.c
@@ -331,7 +331,6 @@ static int isp_video_release(struct file *file)
 }
 
 static const struct v4l2_file_operations isp_video_fops = {
-	.owner		= THIS_MODULE,
 	.open		= isp_video_open,
 	.release	= isp_video_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-lite.c b/drivers/media/platform/samsung/exynos4-is/fimc-lite.c
index 103c542a85b0..4690033cdaa7 100644
--- a/drivers/media/platform/samsung/exynos4-is/fimc-lite.c
+++ b/drivers/media/platform/samsung/exynos4-is/fimc-lite.c
@@ -535,7 +535,6 @@ static int fimc_lite_release(struct file *file)
 }
 
 static const struct v4l2_file_operations fimc_lite_fops = {
-	.owner		= THIS_MODULE,
 	.open		= fimc_lite_open,
 	.release	= fimc_lite_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-m2m.c b/drivers/media/platform/samsung/exynos4-is/fimc-m2m.c
index 81deafecf1d7..6faca5a99e0e 100644
--- a/drivers/media/platform/samsung/exynos4-is/fimc-m2m.c
+++ b/drivers/media/platform/samsung/exynos4-is/fimc-m2m.c
@@ -696,7 +696,6 @@ static int fimc_m2m_release(struct file *file)
 }
 
 static const struct v4l2_file_operations fimc_m2m_fops = {
-	.owner		= THIS_MODULE,
 	.open		= fimc_m2m_open,
 	.release	= fimc_m2m_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/samsung/s3c-camif/camif-capture.c b/drivers/media/platform/samsung/s3c-camif/camif-capture.c
index 98dfd394a1aa..36db7c77c05a 100644
--- a/drivers/media/platform/samsung/s3c-camif/camif-capture.c
+++ b/drivers/media/platform/samsung/s3c-camif/camif-capture.c
@@ -618,7 +618,6 @@ static int s3c_camif_mmap(struct file *file, struct vm_area_struct *vma)
 }
 
 static const struct v4l2_file_operations s3c_camif_fops = {
-	.owner		= THIS_MODULE,
 	.open		= s3c_camif_open,
 	.release	= s3c_camif_close,
 	.poll		= s3c_camif_poll,
diff --git a/drivers/media/platform/samsung/s5p-g2d/g2d.c b/drivers/media/platform/samsung/s5p-g2d/g2d.c
index a18b13db19d5..72e228493cb6 100644
--- a/drivers/media/platform/samsung/s5p-g2d/g2d.c
+++ b/drivers/media/platform/samsung/s5p-g2d/g2d.c
@@ -567,7 +567,6 @@ static irqreturn_t g2d_isr(int irq, void *prv)
 }
 
 static const struct v4l2_file_operations g2d_fops = {
-	.owner		= THIS_MODULE,
 	.open		= g2d_open,
 	.release	= g2d_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c b/drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
index fdc9d7e0be66..143a129d9b67 100644
--- a/drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
+++ b/drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
@@ -1025,7 +1025,6 @@ static int s5p_jpeg_release(struct file *file)
 }
 
 static const struct v4l2_file_operations s5p_jpeg_fops = {
-	.owner		= THIS_MODULE,
 	.open		= s5p_jpeg_open,
 	.release	= s5p_jpeg_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c
index 0450c762e5ac..6001f99d7396 100644
--- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c
+++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c
@@ -1103,7 +1103,6 @@ static int s5p_mfc_mmap(struct file *file, struct vm_area_struct *vma)
 
 /* v4l2 ops */
 static const struct v4l2_file_operations s5p_mfc_fops = {
-	.owner = THIS_MODULE,
 	.open = s5p_mfc_open,
 	.release = s5p_mfc_release,
 	.poll = s5p_mfc_poll,
diff --git a/drivers/media/platform/st/sti/bdisp/bdisp-v4l2.c b/drivers/media/platform/st/sti/bdisp/bdisp-v4l2.c
index ee6d686cba49..1a14bb20f739 100644
--- a/drivers/media/platform/st/sti/bdisp/bdisp-v4l2.c
+++ b/drivers/media/platform/st/sti/bdisp/bdisp-v4l2.c
@@ -673,7 +673,6 @@ static int bdisp_release(struct file *file)
 }
 
 static const struct v4l2_file_operations bdisp_fops = {
-	.owner          = THIS_MODULE,
 	.open           = bdisp_open,
 	.release        = bdisp_release,
 	.poll           = v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/st/sti/delta/delta-v4l2.c b/drivers/media/platform/st/sti/delta/delta-v4l2.c
index 7dd27de37b78..69d925ad6369 100644
--- a/drivers/media/platform/st/sti/delta/delta-v4l2.c
+++ b/drivers/media/platform/st/sti/delta/delta-v4l2.c
@@ -1729,7 +1729,6 @@ static int delta_release(struct file *file)
 
 /* V4L2 file ops */
 static const struct v4l2_file_operations delta_fops = {
-	.owner = THIS_MODULE,
 	.open = delta_open,
 	.release = delta_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/st/sti/hva/hva-v4l2.c b/drivers/media/platform/st/sti/hva/hva-v4l2.c
index 33b768774e20..6147f1d8455a 100644
--- a/drivers/media/platform/st/sti/hva/hva-v4l2.c
+++ b/drivers/media/platform/st/sti/hva/hva-v4l2.c
@@ -1264,7 +1264,6 @@ static int hva_release(struct file *file)
 
 /* V4L2 file ops */
 static const struct v4l2_file_operations hva_fops = {
-	.owner			= THIS_MODULE,
 	.open			= hva_open,
 	.release		= hva_release,
 	.unlocked_ioctl		= video_ioctl2,
diff --git a/drivers/media/platform/st/stm32/dma2d/dma2d.c b/drivers/media/platform/st/stm32/dma2d/dma2d.c
index a3ad19256859..77f856e41f38 100644
--- a/drivers/media/platform/st/stm32/dma2d/dma2d.c
+++ b/drivers/media/platform/st/stm32/dma2d/dma2d.c
@@ -541,7 +541,6 @@ static irqreturn_t dma2d_isr(int irq, void *prv)
 }
 
 static const struct v4l2_file_operations dma2d_fops = {
-	.owner		= THIS_MODULE,
 	.open		= dma2d_open,
 	.release	= dma2d_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/st/stm32/stm32-dcmi.c b/drivers/media/platform/st/stm32/stm32-dcmi.c
index 3d774cb4907b..fbd17539f626 100644
--- a/drivers/media/platform/st/stm32/stm32-dcmi.c
+++ b/drivers/media/platform/st/stm32/stm32-dcmi.c
@@ -1600,7 +1600,6 @@ static const struct v4l2_ioctl_ops dcmi_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations dcmi_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.open		= dcmi_open,
 	.release	= dcmi_release,
diff --git a/drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-capture.c b/drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-capture.c
index fe7767f908b7..b942e499ccd1 100644
--- a/drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-capture.c
+++ b/drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-capture.c
@@ -501,7 +501,6 @@ static int dcmipp_capture_enum_framesizes(struct file *file, void *fh,
 }
 
 static const struct v4l2_file_operations dcmipp_capture_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
 	.read           = vb2_fop_read,
diff --git a/drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c b/drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c
index af35ece1d5cf..b1954f76c406 100644
--- a/drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c
+++ b/drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c
@@ -247,7 +247,6 @@ static int sun4i_csi_release(struct file *file)
 }
 
 static const struct v4l2_file_operations sun4i_csi_fops = {
-	.owner		= THIS_MODULE,
 	.open		= sun4i_csi_open,
 	.release	= sun4i_csi_release,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c
index d90abba21309..0c961f568bae 100644
--- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c
+++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c
@@ -872,7 +872,6 @@ static int sun6i_csi_capture_close(struct file *file)
 }
 
 static const struct v4l2_file_operations sun6i_csi_capture_fops = {
-	.owner		= THIS_MODULE,
 	.open		= sun6i_csi_capture_open,
 	.release	= sun6i_csi_capture_close,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c b/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c
index bb90e0efa4d1..ede7fece4a7e 100644
--- a/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c
+++ b/drivers/media/platform/sunxi/sun8i-di/sun8i-di.c
@@ -770,7 +770,6 @@ static int deinterlace_release(struct file *file)
 }
 
 static const struct v4l2_file_operations deinterlace_fops = {
-	.owner		= THIS_MODULE,
 	.open		= deinterlace_open,
 	.release	= deinterlace_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c b/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
index 7bff23d1ea98..deada74e3baf 100644
--- a/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
+++ b/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
@@ -706,7 +706,6 @@ static int rotate_release(struct file *file)
 }
 
 static const struct v4l2_file_operations rotate_fops = {
-	.owner		= THIS_MODULE,
 	.open		= rotate_open,
 	.release	= rotate_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c b/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
index 6817cb3d001e..e1d88bbf13fe 100644
--- a/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
+++ b/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
@@ -1738,7 +1738,6 @@ static const struct v4l2_ioctl_ops hdmirx_v4l2_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations hdmirx_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/ti/am437x/am437x-vpfe.c b/drivers/media/platform/ti/am437x/am437x-vpfe.c
index 3cd5ee69d3c4..339e7c98e943 100644
--- a/drivers/media/platform/ti/am437x/am437x-vpfe.c
+++ b/drivers/media/platform/ti/am437x/am437x-vpfe.c
@@ -2088,7 +2088,6 @@ static const struct vb2_ops vpfe_video_qops = {
 
 /* vpfe capture driver file operations */
 static const struct v4l2_file_operations vpfe_fops = {
-	.owner		= THIS_MODULE,
 	.open		= vpfe_open,
 	.release	= vpfe_release,
 	.read		= vb2_fop_read,
diff --git a/drivers/media/platform/ti/cal/cal-video.c b/drivers/media/platform/ti/cal/cal-video.c
index 1990cab77344..528edd1413ef 100644
--- a/drivers/media/platform/ti/cal/cal-video.c
+++ b/drivers/media/platform/ti/cal/cal-video.c
@@ -845,7 +845,6 @@ static const struct vb2_ops cal_video_qops = {
  */
 
 static const struct v4l2_file_operations cal_fops = {
-	.owner		= THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = vb2_fop_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/media/platform/ti/davinci/vpif_capture.c b/drivers/media/platform/ti/davinci/vpif_capture.c
index 397f3115af5b..cfbaa92a1ef4 100644
--- a/drivers/media/platform/ti/davinci/vpif_capture.c
+++ b/drivers/media/platform/ti/davinci/vpif_capture.c
@@ -1315,7 +1315,6 @@ static const struct v4l2_ioctl_ops vpif_ioctl_ops = {
 
 /* vpif file operations */
 static const struct v4l2_file_operations vpif_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/platform/ti/davinci/vpif_display.c b/drivers/media/platform/ti/davinci/vpif_display.c
index 4a870eb66634..58c4ab88f3e3 100644
--- a/drivers/media/platform/ti/davinci/vpif_display.c
+++ b/drivers/media/platform/ti/davinci/vpif_display.c
@@ -1064,7 +1064,6 @@ static const struct v4l2_ioctl_ops vpif_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations vpif_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c b/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
index 022ea3d616c9..77ddda67206b 100644
--- a/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
+++ b/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
@@ -446,7 +446,6 @@ static const struct v4l2_ioctl_ops csi_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations csi_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.read = vb2_fop_read,
diff --git a/drivers/media/platform/ti/omap/omap_vout.c b/drivers/media/platform/ti/omap/omap_vout.c
index 6106b02cd521..9ea7c8e0d285 100644
--- a/drivers/media/platform/ti/omap/omap_vout.c
+++ b/drivers/media/platform/ti/omap/omap_vout.c
@@ -1286,7 +1286,6 @@ static const struct v4l2_ioctl_ops vout_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations omap_vout_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.poll		= vb2_fop_poll,
 	.mmap		= vb2_fop_mmap,
diff --git a/drivers/media/platform/ti/omap3isp/ispvideo.c b/drivers/media/platform/ti/omap3isp/ispvideo.c
index cd324c730318..43fb553aed12 100644
--- a/drivers/media/platform/ti/omap3isp/ispvideo.c
+++ b/drivers/media/platform/ti/omap3isp/ispvideo.c
@@ -1478,7 +1478,6 @@ static int isp_video_mmap(struct file *file, struct vm_area_struct *vma)
 }
 
 static const struct v4l2_file_operations isp_video_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = isp_video_open,
 	.release = isp_video_release,
diff --git a/drivers/media/platform/ti/vpe/vip.c b/drivers/media/platform/ti/vpe/vip.c
index 6cdbd9946da3..0530e3c9a83d 100644
--- a/drivers/media/platform/ti/vpe/vip.c
+++ b/drivers/media/platform/ti/vpe/vip.c
@@ -3030,7 +3030,6 @@ static int vip_release(struct file *file)
  * File operations
  */
 static const struct v4l2_file_operations vip_fops = {
-	.owner		= THIS_MODULE,
 	.open		= vip_open,
 	.release	= vip_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/media/platform/ti/vpe/vpe.c b/drivers/media/platform/ti/vpe/vpe.c
index 761aa40a066e..2bc5abea01f0 100644
--- a/drivers/media/platform/ti/vpe/vpe.c
+++ b/drivers/media/platform/ti/vpe/vpe.c
@@ -2435,7 +2435,6 @@ static int vpe_release(struct file *file)
 }
 
 static const struct v4l2_file_operations vpe_fops = {
-	.owner		= THIS_MODULE,
 	.open		= vpe_open,
 	.release	= vpe_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/verisilicon/hantro_drv.c b/drivers/media/platform/verisilicon/hantro_drv.c
index 5c962847fdf5..8e2f43a3f7e0 100644
--- a/drivers/media/platform/verisilicon/hantro_drv.c
+++ b/drivers/media/platform/verisilicon/hantro_drv.c
@@ -724,7 +724,6 @@ static int hantro_release(struct file *filp)
 }
 
 static const struct v4l2_file_operations hantro_fops = {
-	.owner = THIS_MODULE,
 	.open = hantro_open,
 	.release = hantro_release,
 	.poll = v4l2_m2m_fop_poll,
diff --git a/drivers/media/platform/via/via-camera.c b/drivers/media/platform/via/via-camera.c
index 6a6e10c6f649..c1c115e8b91a 100644
--- a/drivers/media/platform/via/via-camera.c
+++ b/drivers/media/platform/via/via-camera.c
@@ -719,7 +719,6 @@ static int viacam_release(struct file *filp)
 }
 
 static const struct v4l2_file_operations viacam_fops = {
-	.owner		= THIS_MODULE,
 	.open		= viacam_open,
 	.release	= viacam_release,
 	.read		= vb2_fop_read,
diff --git a/drivers/media/platform/xilinx/xilinx-dma.c b/drivers/media/platform/xilinx/xilinx-dma.c
index fcfe0883aba5..40cbddcc5a47 100644
--- a/drivers/media/platform/xilinx/xilinx-dma.c
+++ b/drivers/media/platform/xilinx/xilinx-dma.c
@@ -614,7 +614,6 @@ static const struct v4l2_ioctl_ops xvip_dma_ioctl_ops = {
  */
 
 static const struct v4l2_file_operations xvip_dma_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
diff --git a/drivers/media/radio/dsbr100.c b/drivers/media/radio/dsbr100.c
index 87c37b4634b7..f1c8b43aa8d4 100644
--- a/drivers/media/radio/dsbr100.c
+++ b/drivers/media/radio/dsbr100.c
@@ -317,7 +317,6 @@ static const struct v4l2_ctrl_ops usb_dsbr100_ctrl_ops = {
 
 /* File system interface */
 static const struct v4l2_file_operations usb_dsbr100_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.open           = v4l2_fh_open,
 	.release        = v4l2_fh_release,
diff --git a/drivers/media/radio/radio-cadet.c b/drivers/media/radio/radio-cadet.c
index 53c1d1061cf4..8508d813f968 100644
--- a/drivers/media/radio/radio-cadet.c
+++ b/drivers/media/radio/radio-cadet.c
@@ -499,7 +499,6 @@ static __poll_t cadet_poll(struct file *file, struct poll_table_struct *wait)
 
 
 static const struct v4l2_file_operations cadet_fops = {
-	.owner		= THIS_MODULE,
 	.open		= cadet_open,
 	.release	= cadet_release,
 	.read		= cadet_read,
diff --git a/drivers/media/radio/radio-isa.c b/drivers/media/radio/radio-isa.c
index dc905c57e3e7..a1d9be2f022f 100644
--- a/drivers/media/radio/radio-isa.c
+++ b/drivers/media/radio/radio-isa.c
@@ -140,7 +140,6 @@ static const struct v4l2_ctrl_ops radio_isa_ctrl_ops = {
 };
 
 static const struct v4l2_file_operations radio_isa_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= v4l2_fh_release,
 	.poll		= v4l2_ctrl_poll,
diff --git a/drivers/media/radio/radio-keene.c b/drivers/media/radio/radio-keene.c
index 8cfef3a778cf..467843287928 100644
--- a/drivers/media/radio/radio-keene.c
+++ b/drivers/media/radio/radio-keene.c
@@ -258,7 +258,6 @@ static int keene_s_ctrl(struct v4l2_ctrl *ctrl)
 
 /* File system interface */
 static const struct v4l2_file_operations usb_keene_fops = {
-	.owner		= THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = v4l2_fh_release,
 	.poll		= v4l2_ctrl_poll,
diff --git a/drivers/media/radio/radio-ma901.c b/drivers/media/radio/radio-ma901.c
index 11c5d103c4c5..df86b4e61005 100644
--- a/drivers/media/radio/radio-ma901.c
+++ b/drivers/media/radio/radio-ma901.c
@@ -300,7 +300,6 @@ static const struct v4l2_ctrl_ops usb_ma901radio_ctrl_ops = {
 
 /* File system interface */
 static const struct v4l2_file_operations usb_ma901radio_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= v4l2_fh_release,
 	.poll		= v4l2_ctrl_poll,
diff --git a/drivers/media/radio/radio-miropcm20.c b/drivers/media/radio/radio-miropcm20.c
index 67712ab3d564..2c8c70060f42 100644
--- a/drivers/media/radio/radio-miropcm20.c
+++ b/drivers/media/radio/radio-miropcm20.c
@@ -405,7 +405,6 @@ static int pcm20_release(struct file *file)
 }
 
 static const struct v4l2_file_operations pcm20_fops = {
-	.owner		= THIS_MODULE,
 	.open		= pcm20_open,
 	.poll		= v4l2_ctrl_poll,
 	.release	= pcm20_release,
diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c
index d5a6053e1d53..60036739094d 100644
--- a/drivers/media/radio/radio-mr800.c
+++ b/drivers/media/radio/radio-mr800.c
@@ -464,7 +464,6 @@ static const struct v4l2_ctrl_ops usb_amradio_ctrl_ops = {
 
 /* File system interface */
 static const struct v4l2_file_operations usb_amradio_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= v4l2_fh_release,
 	.poll		= v4l2_ctrl_poll,
diff --git a/drivers/media/radio/radio-raremono.c b/drivers/media/radio/radio-raremono.c
index 6aa7c09780f4..0cc8a98732e7 100644
--- a/drivers/media/radio/radio-raremono.c
+++ b/drivers/media/radio/radio-raremono.c
@@ -279,7 +279,6 @@ static void raremono_device_release(struct v4l2_device *v4l2_dev)
 
 /* File system interface */
 static const struct v4l2_file_operations usb_raremono_fops = {
-	.owner		= THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = v4l2_fh_release,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/drivers/media/radio/radio-sf16fmi.c b/drivers/media/radio/radio-sf16fmi.c
index 1fb88c2b916c..fecf2dfa1fde 100644
--- a/drivers/media/radio/radio-sf16fmi.c
+++ b/drivers/media/radio/radio-sf16fmi.c
@@ -208,7 +208,6 @@ static const struct v4l2_ctrl_ops fmi_ctrl_ops = {
 };
 
 static const struct v4l2_file_operations fmi_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= v4l2_fh_release,
 	.poll		= v4l2_ctrl_poll,
diff --git a/drivers/media/radio/radio-si476x.c b/drivers/media/radio/radio-si476x.c
index bfe89782dce4..55a2b6d121ab 100644
--- a/drivers/media/radio/radio-si476x.c
+++ b/drivers/media/radio/radio-si476x.c
@@ -1141,7 +1141,6 @@ static __poll_t si476x_radio_fops_poll(struct file *file,
 }
 
 static const struct v4l2_file_operations si476x_fops = {
-	.owner			= THIS_MODULE,
 	.read			= si476x_radio_fops_read,
 	.poll			= si476x_radio_fops_poll,
 	.unlocked_ioctl		= video_ioctl2,
diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c
index d9547f625e30..28ec76e1c851 100644
--- a/drivers/media/radio/radio-tea5764.c
+++ b/drivers/media/radio/radio-tea5764.c
@@ -384,7 +384,6 @@ static const struct v4l2_ctrl_ops tea5764_ctrl_ops = {
 
 /* File system interface */
 static const struct v4l2_file_operations tea5764_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= v4l2_fh_release,
 	.poll		= v4l2_ctrl_poll,
diff --git a/drivers/media/radio/radio-timb.c b/drivers/media/radio/radio-timb.c
index a6069b106fd3..1f6085fde958 100644
--- a/drivers/media/radio/radio-timb.c
+++ b/drivers/media/radio/radio-timb.c
@@ -77,7 +77,6 @@ static const struct v4l2_ioctl_ops timbradio_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations timbradio_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= v4l2_fh_release,
 	.poll		= v4l2_ctrl_poll,
diff --git a/drivers/media/radio/si470x/radio-si470x-common.c b/drivers/media/radio/si470x/radio-si470x-common.c
index af0a70910099..4028e5aab616 100644
--- a/drivers/media/radio/si470x/radio-si470x-common.c
+++ b/drivers/media/radio/si470x/radio-si470x-common.c
@@ -557,7 +557,6 @@ static int si470x_fops_release(struct file *file)
  * si470x_fops - file operations interface
  */
 static const struct v4l2_file_operations si470x_fops = {
-	.owner			= THIS_MODULE,
 	.read			= si470x_fops_read,
 	.poll			= si470x_fops_poll,
 	.unlocked_ioctl		= video_ioctl2,
diff --git a/drivers/media/radio/si4713/radio-platform-si4713.c b/drivers/media/radio/si4713/radio-platform-si4713.c
index 4132968110e3..4d649b8144f5 100644
--- a/drivers/media/radio/si4713/radio-platform-si4713.c
+++ b/drivers/media/radio/si4713/radio-platform-si4713.c
@@ -44,7 +44,6 @@ struct radio_si4713_device {
 
 /* radio_si4713_fops - file operations interface */
 static const struct v4l2_file_operations radio_si4713_fops = {
-	.owner		= THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = v4l2_fh_release,
 	.poll = v4l2_ctrl_poll,
diff --git a/drivers/media/radio/si4713/radio-usb-si4713.c b/drivers/media/radio/si4713/radio-usb-si4713.c
index 62877980fc04..371e0b0fc2c1 100644
--- a/drivers/media/radio/si4713/radio-usb-si4713.c
+++ b/drivers/media/radio/si4713/radio-usb-si4713.c
@@ -118,7 +118,6 @@ static const struct v4l2_ioctl_ops usb_si4713_ioctl_ops = {
 
 /* File system interface */
 static const struct v4l2_file_operations usb_si4713_fops = {
-	.owner		= THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = v4l2_fh_release,
 	.poll           = v4l2_ctrl_poll,
diff --git a/drivers/media/test-drivers/vicodec/vicodec-core.c b/drivers/media/test-drivers/vicodec/vicodec-core.c
index a6d12ab66a0f..51fa67efbed0 100644
--- a/drivers/media/test-drivers/vicodec/vicodec-core.c
+++ b/drivers/media/test-drivers/vicodec/vicodec-core.c
@@ -2026,7 +2026,6 @@ static void vicodec_request_queue(struct media_request *req)
 }
 
 static const struct v4l2_file_operations vicodec_fops = {
-	.owner		= THIS_MODULE,
 	.open		= vicodec_open,
 	.release	= vicodec_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/test-drivers/vim2m.c b/drivers/media/test-drivers/vim2m.c
index 459fd4aedf30..aab5730b828c 100644
--- a/drivers/media/test-drivers/vim2m.c
+++ b/drivers/media/test-drivers/vim2m.c
@@ -1480,7 +1480,6 @@ static void vim2m_device_release(struct video_device *vdev)
 }
 
 static const struct v4l2_file_operations vim2m_fops = {
-	.owner		= THIS_MODULE,
 	.open		= vim2m_open,
 	.release	= vim2m_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/test-drivers/vimc/vimc-capture.c b/drivers/media/test-drivers/vimc/vimc-capture.c
index ac60c9b5418e..a2e51466015a 100644
--- a/drivers/media/test-drivers/vimc/vimc-capture.c
+++ b/drivers/media/test-drivers/vimc/vimc-capture.c
@@ -192,7 +192,6 @@ static int vimc_capture_enum_framesizes(struct file *file, void *priv,
 }
 
 static const struct v4l2_file_operations vimc_capture_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
 	.read           = vb2_fop_read,
diff --git a/drivers/media/test-drivers/visl/visl-core.c b/drivers/media/test-drivers/visl/visl-core.c
index 5e9bdd425d4a..b8308758a7b2 100644
--- a/drivers/media/test-drivers/visl/visl-core.c
+++ b/drivers/media/test-drivers/visl/visl-core.c
@@ -407,7 +407,6 @@ static int visl_release(struct file *file)
 }
 
 static const struct v4l2_file_operations visl_fops = {
-	.owner		= THIS_MODULE,
 	.open		= visl_open,
 	.release	= visl_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/media/test-drivers/vivid/vivid-core.c b/drivers/media/test-drivers/vivid/vivid-core.c
index ea0b5ae6f437..5182a5face29 100644
--- a/drivers/media/test-drivers/vivid/vivid-core.c
+++ b/drivers/media/test-drivers/vivid/vivid-core.c
@@ -669,7 +669,6 @@ static int vivid_fop_release(struct file *file)
 }
 
 static const struct v4l2_file_operations vivid_fops = {
-	.owner		= THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = vivid_fop_release,
 	.read           = vb2_fop_read,
@@ -680,7 +679,6 @@ static const struct v4l2_file_operations vivid_fops = {
 };
 
 static const struct v4l2_file_operations vivid_radio_fops = {
-	.owner		= THIS_MODULE,
 	.open           = v4l2_fh_open,
 	.release        = vivid_fop_release,
 	.read           = vivid_radio_read,
diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c
index 85587c0fbadf..8d93ee060319 100644
--- a/drivers/media/usb/airspy/airspy.c
+++ b/drivers/media/usb/airspy/airspy.c
@@ -842,7 +842,6 @@ static const struct v4l2_ioctl_ops airspy_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations airspy_fops = {
-	.owner                    = THIS_MODULE,
 	.open                     = v4l2_fh_open,
 	.release                  = vb2_fop_release,
 	.read                     = vb2_fop_read,
diff --git a/drivers/media/usb/au0828/au0828-video.c b/drivers/media/usb/au0828/au0828-video.c
index beda09126592..16404f1fcd9d 100644
--- a/drivers/media/usb/au0828/au0828-video.c
+++ b/drivers/media/usb/au0828/au0828-video.c
@@ -1759,7 +1759,6 @@ void au0828_v4l2_resume(struct au0828_dev *dev)
 }
 
 static const struct v4l2_file_operations au0828_v4l_fops = {
-	.owner      = THIS_MODULE,
 	.open       = au0828_v4l2_open,
 	.release    = au0828_v4l2_close,
 	.read       = vb2_fop_read,
diff --git a/drivers/media/usb/cx231xx/cx231xx-417.c b/drivers/media/usb/cx231xx/cx231xx-417.c
index 0b3e856f6d21..7ec42b7aeb6d 100644
--- a/drivers/media/usb/cx231xx/cx231xx-417.c
+++ b/drivers/media/usb/cx231xx/cx231xx-417.c
@@ -1600,7 +1600,6 @@ static int vidioc_log_status(struct file *file, void *priv)
 }
 
 static const struct v4l2_file_operations mpeg_fops = {
-	.owner	       = THIS_MODULE,
 	.open	       = v4l2_fh_open,
 	.release       = vb2_fop_release,
 	.read	       = vb2_fop_read,
diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c b/drivers/media/usb/cx231xx/cx231xx-video.c
index 83809528dc9c..1aac9385910d 100644
--- a/drivers/media/usb/cx231xx/cx231xx-video.c
+++ b/drivers/media/usb/cx231xx/cx231xx-video.c
@@ -1642,7 +1642,6 @@ static int cx231xx_v4l2_close(struct file *filp)
 }
 
 static const struct v4l2_file_operations cx231xx_v4l_fops = {
-	.owner   = THIS_MODULE,
 	.open    = cx231xx_v4l2_open,
 	.release = cx231xx_v4l2_close,
 	.read    = vb2_fop_read,
@@ -1696,7 +1695,6 @@ static const struct video_device cx231xx_video_template = {
 };
 
 static const struct v4l2_file_operations radio_fops = {
-	.owner   = THIS_MODULE,
 	.open   = cx231xx_v4l2_open,
 	.release = cx231xx_v4l2_close,
 	.poll = v4l2_ctrl_poll,
diff --git a/drivers/media/usb/dvb-usb/cxusb-analog.c b/drivers/media/usb/dvb-usb/cxusb-analog.c
index 648f947e8cce..d44aa4a2d064 100644
--- a/drivers/media/usb/dvb-usb/cxusb-analog.c
+++ b/drivers/media/usb/dvb-usb/cxusb-analog.c
@@ -1573,7 +1573,6 @@ static int cxusb_videoradio_release(struct file *f)
 }
 
 static const struct v4l2_file_operations cxusb_video_fops = {
-	.owner = THIS_MODULE,
 	.read = vb2_fop_read,
 	.poll = vb2_fop_poll,
 	.unlocked_ioctl = video_ioctl2,
@@ -1583,7 +1582,6 @@ static const struct v4l2_file_operations cxusb_video_fops = {
 };
 
 static const struct v4l2_file_operations cxusb_radio_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = cxusb_videoradio_open,
 	.release = cxusb_videoradio_release
diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c
index 4537e42b30da..2a5dd1e0370b 100644
--- a/drivers/media/usb/em28xx/em28xx-video.c
+++ b/drivers/media/usb/em28xx/em28xx-video.c
@@ -2549,7 +2549,6 @@ static int em28xx_v4l2_close(struct file *filp)
 }
 
 static const struct v4l2_file_operations em28xx_v4l_fops = {
-	.owner         = THIS_MODULE,
 	.open          = em28xx_v4l2_open,
 	.release       = em28xx_v4l2_close,
 	.read          = vb2_fop_read,
@@ -2610,7 +2609,6 @@ static const struct video_device em28xx_video_template = {
 };
 
 static const struct v4l2_file_operations radio_fops = {
-	.owner         = THIS_MODULE,
 	.open          = em28xx_v4l2_open,
 	.release       = em28xx_v4l2_close,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/usb/go7007/go7007-v4l2.c b/drivers/media/usb/go7007/go7007-v4l2.c
index a0532f4d755e..74dd1519afc4 100644
--- a/drivers/media/usb/go7007/go7007-v4l2.c
+++ b/drivers/media/usb/go7007/go7007-v4l2.c
@@ -844,7 +844,6 @@ static int go7007_s_ctrl(struct v4l2_ctrl *ctrl)
 }
 
 static const struct v4l2_file_operations go7007_fops = {
-	.owner		= THIS_MODULE,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/drivers/media/usb/gspca/gspca.c b/drivers/media/usb/gspca/gspca.c
index ce1e448ef6af..b4ce91ce78cc 100644
--- a/drivers/media/usb/gspca/gspca.c
+++ b/drivers/media/usb/gspca/gspca.c
@@ -1387,7 +1387,6 @@ static const struct vb2_ops gspca_qops = {
 };
 
 static const struct v4l2_file_operations dev_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/media/usb/hackrf/hackrf.c b/drivers/media/usb/hackrf/hackrf.c
index 70fd95f3e97d..c4d321de8e21 100644
--- a/drivers/media/usb/hackrf/hackrf.c
+++ b/drivers/media/usb/hackrf/hackrf.c
@@ -1228,7 +1228,6 @@ static const struct v4l2_ioctl_ops hackrf_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations hackrf_fops = {
-	.owner                    = THIS_MODULE,
 	.open                     = v4l2_fh_open,
 	.release                  = vb2_fop_release,
 	.read                     = vb2_fop_read,
diff --git a/drivers/media/usb/hdpvr/hdpvr-video.c b/drivers/media/usb/hdpvr/hdpvr-video.c
index 378cb3e1efd2..c53c69e859ec 100644
--- a/drivers/media/usb/hdpvr/hdpvr-video.c
+++ b/drivers/media/usb/hdpvr/hdpvr-video.c
@@ -583,7 +583,6 @@ static __poll_t hdpvr_poll(struct file *filp, poll_table *wait)
 
 
 static const struct v4l2_file_operations hdpvr_fops = {
-	.owner		= THIS_MODULE,
 	.open		= hdpvr_open,
 	.release	= hdpvr_release,
 	.read		= hdpvr_read,
diff --git a/drivers/media/usb/msi2500/msi2500.c b/drivers/media/usb/msi2500/msi2500.c
index 2a2773722172..1a8a74ed3812 100644
--- a/drivers/media/usb/msi2500/msi2500.c
+++ b/drivers/media/usb/msi2500/msi2500.c
@@ -1126,7 +1126,6 @@ static const struct v4l2_ioctl_ops msi2500_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations msi2500_fops = {
-	.owner                    = THIS_MODULE,
 	.open                     = v4l2_fh_open,
 	.release                  = vb2_fop_release,
 	.read                     = vb2_fop_read,
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c b/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c
index 5c0117493124..087c32d04722 100644
--- a/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c
+++ b/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c
@@ -1142,7 +1142,6 @@ static __poll_t pvr2_v4l2_poll(struct file *file, poll_table *wait)
 
 
 static const struct v4l2_file_operations vdev_fops = {
-	.owner      = THIS_MODULE,
 	.open       = pvr2_v4l2_open,
 	.release    = pvr2_v4l2_release,
 	.read       = pvr2_v4l2_read,
diff --git a/drivers/media/usb/pwc/pwc-if.c b/drivers/media/usb/pwc/pwc-if.c
index e2884b04d952..05add5654449 100644
--- a/drivers/media/usb/pwc/pwc-if.c
+++ b/drivers/media/usb/pwc/pwc-if.c
@@ -136,7 +136,6 @@ static int leds[2] = { 100, 0 };
 /***/
 
 static const struct v4l2_file_operations pwc_fops = {
-	.owner =	THIS_MODULE,
 	.open =		v4l2_fh_open,
 	.release =	vb2_fop_release,
 	.read =		vb2_fop_read,
diff --git a/drivers/media/usb/s2255/s2255drv.c b/drivers/media/usb/s2255/s2255drv.c
index ba717cdf31ad..d2d00454186b 100644
--- a/drivers/media/usb/s2255/s2255drv.c
+++ b/drivers/media/usb/s2255/s2255drv.c
@@ -1517,7 +1517,6 @@ static void s2255_destroy(struct s2255_dev *dev)
 }
 
 static const struct v4l2_file_operations s2255_fops_v4l = {
-	.owner = THIS_MODULE,
 	.open = s2255_open,
 	.release = vb2_fop_release,
 	.poll = vb2_fop_poll,
diff --git a/drivers/media/usb/stk1160/stk1160-v4l.c b/drivers/media/usb/stk1160/stk1160-v4l.c
index 715ce1dcb304..5adb86e49aff 100644
--- a/drivers/media/usb/stk1160/stk1160-v4l.c
+++ b/drivers/media/usb/stk1160/stk1160-v4l.c
@@ -316,7 +316,6 @@ static int stk1160_stop_streaming(struct stk1160 *dev)
 }
 
 static const struct v4l2_file_operations stk1160_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.read = vb2_fop_read,
diff --git a/drivers/media/usb/usb3hdcap/usb3hdcap-core.c b/drivers/media/usb/usb3hdcap/usb3hdcap-core.c
index 27b73d97d3d7..329dfb481967 100644
--- a/drivers/media/usb/usb3hdcap/usb3hdcap-core.c
+++ b/drivers/media/usb/usb3hdcap/usb3hdcap-core.c
@@ -925,7 +925,6 @@ static int usb3hdcap_open(struct file *file)
 }
 
 static const struct v4l2_file_operations usb3hdcap_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.mmap = vb2_fop_mmap,
 	.open = usb3hdcap_open,
diff --git a/drivers/media/usb/usbtv/usbtv-video.c b/drivers/media/usb/usbtv/usbtv-video.c
index e505ac8e671a..9b3c2f5106eb 100644
--- a/drivers/media/usb/usbtv/usbtv-video.c
+++ b/drivers/media/usb/usbtv/usbtv-video.c
@@ -715,7 +715,6 @@ static const struct v4l2_ioctl_ops usbtv_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations usbtv_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.mmap = vb2_fop_mmap,
 	.open = v4l2_fh_open,
diff --git a/drivers/media/usb/uvc/uvc_metadata.c b/drivers/media/usb/uvc/uvc_metadata.c
index 9de8aba1229e..2ad8ae859052 100644
--- a/drivers/media/usb/uvc/uvc_metadata.c
+++ b/drivers/media/usb/uvc/uvc_metadata.c
@@ -150,7 +150,6 @@ static const struct v4l2_ioctl_ops uvc_meta_ioctl_ops = {
  */
 
 static const struct v4l2_file_operations uvc_meta_fops = {
-	.owner = THIS_MODULE,
 	.unlocked_ioctl = video_ioctl2,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
diff --git a/drivers/media/usb/uvc/uvc_v4l2.c b/drivers/media/usb/uvc/uvc_v4l2.c
index 644c2f1cd8e6..1e8ef2fe79e8 100644
--- a/drivers/media/usb/uvc/uvc_v4l2.c
+++ b/drivers/media/usb/uvc/uvc_v4l2.c
@@ -1282,7 +1282,6 @@ const struct v4l2_ioctl_ops uvc_ioctl_ops = {
 };
 
 const struct v4l2_file_operations uvc_fops = {
-	.owner		= THIS_MODULE,
 	.open		= uvc_v4l2_open,
 	.release	= uvc_v4l2_release,
 	.unlocked_ioctl	= uvc_v4l2_unlocked_ioctl,
diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c
index a07d77e584c3..a1fe2fb945eb 100644
--- a/drivers/media/v4l2-core/v4l2-subdev.c
+++ b/drivers/media/v4l2-core/v4l2-subdev.c
@@ -1288,7 +1288,6 @@ static __poll_t subdev_poll(struct file *file, poll_table *wait)
 }
 
 const struct v4l2_file_operations v4l2_subdev_fops = {
-	.owner = THIS_MODULE,
 	.open = subdev_open,
 	.unlocked_ioctl = subdev_ioctl,
 #ifdef CONFIG_COMPAT
diff --git a/drivers/staging/media/atomisp/pci/atomisp_fops.c b/drivers/staging/media/atomisp/pci/atomisp_fops.c
index c7aef066f209..464e75fe7f4a 100644
--- a/drivers/staging/media/atomisp/pci/atomisp_fops.c
+++ b/drivers/staging/media/atomisp/pci/atomisp_fops.c
@@ -552,7 +552,6 @@ static int atomisp_release(struct file *file)
 }
 
 const struct v4l2_file_operations atomisp_fops = {
-	.owner = THIS_MODULE,
 	.open = atomisp_open,
 	.release = atomisp_release,
 	.mmap = vb2_fop_mmap,
diff --git a/drivers/staging/media/imx/imx-media-capture.c b/drivers/staging/media/imx/imx-media-capture.c
index 9216a221b72f..0501ddc40db7 100644
--- a/drivers/staging/media/imx/imx-media-capture.c
+++ b/drivers/staging/media/imx/imx-media-capture.c
@@ -820,7 +820,6 @@ static int capture_release(struct file *file)
 }
 
 static const struct v4l2_file_operations capture_fops = {
-	.owner		= THIS_MODULE,
 	.open		= capture_open,
 	.release	= capture_release,
 	.poll		= vb2_fop_poll,
diff --git a/drivers/staging/media/imx/imx-media-csc-scaler.c b/drivers/staging/media/imx/imx-media-csc-scaler.c
index 6f4c0b09bb36..a892ec65ccc0 100644
--- a/drivers/staging/media/imx/imx-media-csc-scaler.c
+++ b/drivers/staging/media/imx/imx-media-csc-scaler.c
@@ -812,7 +812,6 @@ static int ipu_csc_scaler_release(struct file *file)
 }
 
 static const struct v4l2_file_operations ipu_csc_scaler_fops = {
-	.owner		= THIS_MODULE,
 	.open		= ipu_csc_scaler_open,
 	.release	= ipu_csc_scaler_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/staging/media/ipu7/ipu7-isys-video.c b/drivers/staging/media/ipu7/ipu7-isys-video.c
index 88e265f8fdbd..917e5aaea194 100644
--- a/drivers/staging/media/ipu7/ipu7-isys-video.c
+++ b/drivers/staging/media/ipu7/ipu7-isys-video.c
@@ -858,7 +858,6 @@ static const struct media_entity_operations entity_ops = {
 };
 
 static const struct v4l2_file_operations isys_fops = {
-	.owner = THIS_MODULE,
 	.poll = vb2_fop_poll,
 	.unlocked_ioctl = video_ioctl2,
 	.mmap = vb2_fop_mmap,
diff --git a/drivers/staging/media/meson/vdec/vdec.c b/drivers/staging/media/meson/vdec/vdec.c
index 336f64f70f3c..7a10c83b7977 100644
--- a/drivers/staging/media/meson/vdec/vdec.c
+++ b/drivers/staging/media/meson/vdec/vdec.c
@@ -940,7 +940,6 @@ static int vdec_close(struct file *file)
 }
 
 static const struct v4l2_file_operations vdec_fops = {
-	.owner = THIS_MODULE,
 	.open = vdec_open,
 	.release = vdec_close,
 	.unlocked_ioctl = video_ioctl2,
diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/staging/media/sunxi/cedrus/cedrus.c
index 09b789640646..da58222a57e5 100644
--- a/drivers/staging/media/sunxi/cedrus/cedrus.c
+++ b/drivers/staging/media/sunxi/cedrus/cedrus.c
@@ -450,7 +450,6 @@ static int cedrus_release(struct file *file)
 }
 
 static const struct v4l2_file_operations cedrus_fops = {
-	.owner		= THIS_MODULE,
 	.open		= cedrus_open,
 	.release	= cedrus_release,
 	.poll		= v4l2_m2m_fop_poll,
diff --git a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c
index e7b99cee63d6..4443eabdaab2 100644
--- a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c
+++ b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c
@@ -579,7 +579,6 @@ static int sun6i_isp_capture_release(struct file *file)
 }
 
 static const struct v4l2_file_operations sun6i_isp_capture_fops = {
-	.owner		= THIS_MODULE,
 	.open		= sun6i_isp_capture_open,
 	.release	= sun6i_isp_capture_release,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c
index 77c2d06c0436..00a6e11b5b03 100644
--- a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c
+++ b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c
@@ -442,7 +442,6 @@ static const struct v4l2_ioctl_ops sun6i_isp_params_ioctl_ops = {
 };
 
 static const struct v4l2_file_operations sun6i_isp_params_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
diff --git a/drivers/staging/media/tegra-video/vi.c b/drivers/staging/media/tegra-video/vi.c
index 34507a52016e..84b25638ebe1 100644
--- a/drivers/staging/media/tegra-video/vi.c
+++ b/drivers/staging/media/tegra-video/vi.c
@@ -882,7 +882,6 @@ static const struct v4l2_ioctl_ops tegra_channel_ioctl_ops = {
  * V4L2 file operations
  */
 static const struct v4l2_file_operations tegra_channel_fops = {
-	.owner		= THIS_MODULE,
 	.unlocked_ioctl	= video_ioctl2,
 	.open		= v4l2_fh_open,
 	.release	= vb2_fop_release,
diff --git a/drivers/staging/most/video/video.c b/drivers/staging/most/video/video.c
index 3a0445ff62f4..308ff5cb5525 100644
--- a/drivers/staging/most/video/video.c
+++ b/drivers/staging/most/video/video.c
@@ -340,7 +340,6 @@ static int vidioc_s_input(struct file *file, void *priv, unsigned int index)
 }
 
 static const struct v4l2_file_operations comp_fops = {
-	.owner      = THIS_MODULE,
 	.open       = comp_vdev_open,
 	.release    = comp_vdev_close,
 	.read       = comp_vdev_read,
diff --git a/drivers/usb/gadget/function/uvc_v4l2.c b/drivers/usb/gadget/function/uvc_v4l2.c
index dfa0521a243a..7802a2eb9043 100644
--- a/drivers/usb/gadget/function/uvc_v4l2.c
+++ b/drivers/usb/gadget/function/uvc_v4l2.c
@@ -735,7 +735,6 @@ static unsigned long uvcg_v4l2_get_unmapped_area(struct file *file,
 #endif
 
 const struct v4l2_file_operations uvc_v4l2_fops = {
-	.owner		= THIS_MODULE,
 	.open		= uvc_v4l2_open,
 	.release	= uvc_v4l2_release,
 	.unlocked_ioctl	= video_ioctl2,
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index 2e0f6d2e6a78..67aa278a43c3 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -179,7 +179,6 @@ int v4l2_prio_check(struct v4l2_prio_state *global, enum v4l2_priority local);
 /**
  * struct v4l2_file_operations - fs operations used by a V4L2 device
  *
- * @owner: pointer to struct module
  * @read: operations needed to implement the read() syscall
  * @write: operations needed to implement the write() syscall
  * @poll: operations needed to implement the poll() syscall
@@ -199,7 +198,6 @@ int v4l2_prio_check(struct v4l2_prio_state *global, enum v4l2_priority local);
  *	extra logic needed by the subsystem.
  */
 struct v4l2_file_operations {
-	struct module *owner;
 	ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
 	ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
 	__poll_t (*poll) (struct file *, struct poll_table_struct *);
@@ -387,7 +385,7 @@ static inline int __must_check video_register_device(struct video_device *vdev,
 						     enum vfl_devnode_type type,
 						     int nr)
 {
-	return __video_register_device(vdev, type, nr, 1, vdev->fops->owner);
+	return __video_register_device(vdev, type, nr, 1, THIS_MODULE);
 }
 
 /**
@@ -414,7 +412,7 @@ static inline int __must_check
 video_register_device_no_warn(struct video_device *vdev,
 			      enum vfl_devnode_type type, int nr)
 {
-	return __video_register_device(vdev, type, nr, 0, vdev->fops->owner);
+	return __video_register_device(vdev, type, nr, 0, THIS_MODULE);
 }
 
 /**
diff --git a/samples/v4l/v4l2-pci-skeleton.c b/samples/v4l/v4l2-pci-skeleton.c
index 69925d30329e..8fc9f37c56b8 100644
--- a/samples/v4l/v4l2-pci-skeleton.c
+++ b/samples/v4l/v4l2-pci-skeleton.c
@@ -722,7 +722,6 @@ static const struct v4l2_ioctl_ops skel_ioctl_ops = {
  * helper functions.
  */
 static const struct v4l2_file_operations skel_fops = {
-	.owner = THIS_MODULE,
 	.open = v4l2_fh_open,
 	.release = vb2_fop_release,
 	.unlocked_ioctl = video_ioctl2,

base-commit: 52fec895d81d2b587f1b2c43e661509c1276096d
-- 
Regards,

Laurent Pinchart


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-04  5:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  2:18 [PATCH] [RFC] media: Drop v4l2_file_operations owner field Laurent Pinchart
2026-12-04  4:17 ` Ian Rogers
2026-12-04  5:04   ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox