From: Hans Verkuil Date: Mon, 16 Jul 2012 11:17:34 +0000 (-0300) Subject: [media] tlg2300: add missing video_unregister_device X-Git-Tag: next-20130320~74^2^2~136 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=270ecca60e9a2b0e3f8e5a45238d8b9d4c953ebb;p=karo-tx-linux.git [media] tlg2300: add missing video_unregister_device Signed-off-by: Hans Verkuil Acked-by: Huang Shijie Signed-off-by: Mauro Carvalho Chehab --- 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; }