diff options
author | Alexey Klimov <klimov.linux@gmail.com> | 2009-03-30 01:19:54 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-07 02:44:30 +0200 |
commit | ff1a3ebb9cd9baecd167500c660bd76129b67b1c (patch) | |
tree | 446537820a4b8e10469276c8f394c2d8a4e42567 /drivers/media/radio/radio-trust.c | |
parent | V4L/DVB (11390): 2-dev.c: return 0 for NULL open and release callbacks (diff) | |
download | linux-ff1a3ebb9cd9baecd167500c660bd76129b67b1c.tar.xz linux-ff1a3ebb9cd9baecd167500c660bd76129b67b1c.zip |
V4L/DVB (11391): pci-isa radios: remove open and release functions
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.
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/radio-trust.c')
-rw-r--r-- | drivers/media/radio/radio-trust.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/radio/radio-trust.c b/drivers/media/radio/radio-trust.c index d1be6492a07b..6f9ecc359356 100644 --- a/drivers/media/radio/radio-trust.c +++ b/drivers/media/radio/radio-trust.c @@ -338,20 +338,8 @@ static int vidioc_s_audio(struct file *file, void *priv, 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, }; |