diff options
Diffstat (limited to 'drivers/media/dvb/ttpci/budget.c')
-rw-r--r-- | drivers/media/dvb/ttpci/budget.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/media/dvb/ttpci/budget.c b/drivers/media/dvb/ttpci/budget.c index 19beb11f9664..e846b9620170 100644 --- a/drivers/media/dvb/ttpci/budget.c +++ b/drivers/media/dvb/ttpci/budget.c | |||
@@ -442,9 +442,7 @@ static void frontend_init(struct budget *budget) | |||
442 | 442 | ||
443 | error_out: | 443 | error_out: |
444 | printk("budget: Frontend registration failed!\n"); | 444 | printk("budget: Frontend registration failed!\n"); |
445 | dvb_detach(budget->dvb_frontend->ops.release_sec, budget->dvb_frontend); | 445 | dvb_frontend_detach(budget->dvb_frontend); |
446 | dvb_detach(budget->dvb_frontend->ops.tuner_ops.release, budget->dvb_frontend); | ||
447 | dvb_detach(budget->dvb_frontend->ops.release, budget->dvb_frontend); | ||
448 | budget->dvb_frontend = NULL; | 446 | budget->dvb_frontend = NULL; |
449 | return; | 447 | return; |
450 | } | 448 | } |
@@ -484,9 +482,7 @@ static int budget_detach (struct saa7146_dev* dev) | |||
484 | 482 | ||
485 | if (budget->dvb_frontend) { | 483 | if (budget->dvb_frontend) { |
486 | dvb_unregister_frontend(budget->dvb_frontend); | 484 | dvb_unregister_frontend(budget->dvb_frontend); |
487 | dvb_detach(budget->dvb_frontend->ops.release_sec, budget->dvb_frontend); | 485 | dvb_frontend_detach(budget->dvb_frontend); |
488 | dvb_detach(budget->dvb_frontend->ops.tuner_ops.release, budget->dvb_frontend); | ||
489 | dvb_detach(budget->dvb_frontend->ops.release, budget->dvb_frontend); | ||
490 | } | 486 | } |
491 | 487 | ||
492 | err = ttpci_budget_deinit (budget); | 488 | err = ttpci_budget_deinit (budget); |