Commit 8c9d26fd authored by Michel Ludwig's avatar Michel Ludwig Committed by Mauro Carvalho Chehab

V4L/DVB (12773): tm6000: fix module unregister

Signed-off-by: default avatarMichel Ludwig <michel.ludwig@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 22927e8e
...@@ -1535,7 +1535,7 @@ int tm6000_v4l2_unregister(struct tm6000_core *dev) ...@@ -1535,7 +1535,7 @@ int tm6000_v4l2_unregister(struct tm6000_core *dev)
list_for_each_safe(pos, tmp, &tm6000_corelist) { list_for_each_safe(pos, tmp, &tm6000_corelist) {
h = list_entry(pos, struct tm6000_core, tm6000_corelist); h = list_entry(pos, struct tm6000_core, tm6000_corelist);
if (h == dev) { if (h == dev) {
list_del(list); list_del(pos);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment