pci-isa radios: remove open and release functions
PATCH 2/2 pci-isa radios: remove open and release functions
From: Alexey Klimov <[email protected]>
Patch removes empty open and release functions in pci and isa radio drivers, setting them to NULL. V4L module doesn't call for them due to previous patch.
Priority: normal
Signed-off-by Alexey Klimov <[email protected]>
--
linux/drivers/media/radio/radio-aimslab.c +0 -12
@@ -356,20 +356,8 @@return a->index ? -EINVAL :0 ; } -static int rtrack_open (struct file *file) -{ -return 0 ; -} - -static int rtrack_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations rtrack_fops = { .owner =THIS_MODULE , - .open = rtrack_open, - .release = rtrack_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-aztech.c +0 -12
@@ -319,20 +319,8 @@return -EINVAL ; } -static int aztech_open (struct file *file) -{ -return 0 ; -} - -static int aztech_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations aztech_fops = { .owner =THIS_MODULE , - .open = aztech_open, - .release = aztech_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-gemtek-pci.c +0 -12
@@ -357,20 +357,8 @@MODULE_DEVICE_TABLE (pci, gemtek_pci_id); -static int gemtek_pci_open (struct file *file) -{ -return 0 ; -} - -static int gemtek_pci_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations gemtek_pci_fops = { .owner =THIS_MODULE , - .open = gemtek_pci_open, - .release = gemtek_pci_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-gemtek.c +0 -11
@@ -376,20 +376,9 @@/* * Video 4 Linux stuff. */ -static int gemtek_open (struct file *file) -{ -return 0 ; -} - -static int gemtek_release (struct file *file) -{ -return 0 ; -}static const struct v4l2_file_operations gemtek_fops = { .owner =THIS_MODULE , - .open = gemtek_open, - .release = gemtek_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-maestro.c +0 -12
@@ -293,20 +293,8 @@return a->index ? -EINVAL :0 ; } -static int maestro_open (struct file *file) -{ -return 0 ; -} - -static int maestro_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations maestro_fops = { .owner =THIS_MODULE , - .open = maestro_open, - .release = maestro_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-maxiradio.c +0 -12
@@ -340,20 +340,8 @@return -EINVAL ; } -static int maxiradio_open (struct file *file) -{ -return 0 ; -} - -static int maxiradio_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations maxiradio_fops = { .owner =THIS_MODULE , - .open = maxiradio_open, - .release = maxiradio_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-rtrack2.c +0 -12
@@ -261,20 +261,8 @@return a->index ? -EINVAL :0 ; } -static int rtrack2_open (struct file *file) -{ -return 0 ; -} - -static int rtrack2_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations rtrack2_fops = { .owner =THIS_MODULE , - .open = rtrack2_open, - .release = rtrack2_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-sf16fmi.c +0 -12
@@ -261,20 +261,8 @@return a->index ? -EINVAL :0 ; } -static int fmi_open (struct file *file) -{ -return 0 ; -} - -static int fmi_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations fmi_fops = { .owner =THIS_MODULE , - .open = fmi_open, - .release = fmi_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-sf16fmr2.c +0 -12
@@ -378,20 +378,8 @@return a->index ? -EINVAL :0 ; } -static int fmr2_open (struct file *file) -{ -return 0 ; -} - -static int fmr2_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations fmr2_fops = { .owner =THIS_MODULE , - .open = fmr2_open, - .release = fmr2_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-terratec.c +0 -12
@@ -333,20 +333,8 @@return a->index ? -EINVAL :0 ; } -static int terratec_open (struct file *file) -{ -return 0 ; -} - -static int terratec_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations terratec_fops = { .owner =THIS_MODULE , - .open = terratec_open, - .release = terratec_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-trust.c +0 -12
@@ -339,20 +339,8 @@return a->index ? -EINVAL :0 ; } -static int trust_open (struct file *file) -{ -return 0 ; -} - -static int trust_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations trust_fops = { .owner =THIS_MODULE , - .open = trust_open, - .release = trust_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-typhoon.c +0 -12
@@ -315,20 +315,8 @@return 0 ; } -static int typhoon_open (struct file *file) -{ -return 0 ; -} - -static int typhoon_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations typhoon_fops = { .owner =THIS_MODULE , - .open = typhoon_open, - .release = typhoon_release, .ioctl = video_ioctl2, };
linux/drivers/media/radio/radio-zoltrix.c +0 -12
@@ -371,21 +371,9 @@return a->index ? -EINVAL :0 ; } -static int zoltrix_open (struct file *file) -{ -return 0 ; -} - -static int zoltrix_release (struct file *file) -{ -return 0 ; -} -static const struct v4l2_file_operations zoltrix_fops = { .owner =THIS_MODULE , - .open = zoltrix_open, - .release = zoltrix_release, .ioctl = video_ioctl2, };
Signature · 1 line
Best regards, Klimov Alexey