summaryrefslogtreecommitdiff
path: root/drivers/media/usb/tlg2300
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-07-16 08:17:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-05 09:35:27 -0300
commit270ecca60e9a2b0e3f8e5a45238d8b9d4c953ebb (patch)
treeb27aebd87902923c96a8d43476816359236951d7 /drivers/media/usb/tlg2300
parent42e509c6d3090fc890d2b30fc3c0be02300256a3 (diff)
downloadlinux-270ecca60e9a2b0e3f8e5a45238d8b9d4c953ebb.tar.gz
[media] tlg2300: add missing video_unregister_device
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Huang Shijie <shijie8@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/tlg2300')
-rw-r--r--drivers/media/usb/tlg2300/pd-radio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/tlg2300/pd-radio.c b/drivers/media/usb/tlg2300/pd-radio.c
index 80307d3857f5..0f958f74dbc4 100644
--- a/drivers/media/usb/tlg2300/pd-radio.c
+++ b/drivers/media/usb/tlg2300/pd-radio.c
@@ -334,6 +334,7 @@ int poseidon_fm_init(struct poseidon *p)
int poseidon_fm_exit(struct poseidon *p)
{
+ video_unregister_device(&p->radio_data.fm_dev);
v4l2_ctrl_handler_free(&p->radio_data.ctrl_handler);
return 0;
}