[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>
This commit is contained in:
parent
42e509c6d3
commit
270ecca60e
|
@ -334,6 +334,7 @@ int poseidon_fm_init(struct poseidon *p)
|
||||||
|
|
||||||
int poseidon_fm_exit(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);
|
v4l2_ctrl_handler_free(&p->radio_data.ctrl_handler);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue