aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/masters/omap_hdq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/w1/masters/omap_hdq.c')
-rw-r--r--drivers/w1/masters/omap_hdq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index 4b0fcf3c2d03..fee195a76941 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -19,7 +19,6 @@
19#include <linux/pm_runtime.h> 19#include <linux/pm_runtime.h>
20 20
21#include <asm/irq.h> 21#include <asm/irq.h>
22#include <mach/hardware.h>
23 22
24#include "../w1.h" 23#include "../w1.h"
25#include "../w1_int.h" 24#include "../w1_int.h"
@@ -644,7 +643,7 @@ static int omap_hdq_remove(struct platform_device *pdev)
644 643
645 /* remove module dependency */ 644 /* remove module dependency */
646 pm_runtime_disable(&pdev->dev); 645 pm_runtime_disable(&pdev->dev);
647 free_irq(INT_24XX_HDQ_IRQ, hdq_data); 646 free_irq(platform_get_irq(pdev, 0), hdq_data);
648 platform_set_drvdata(pdev, NULL); 647 platform_set_drvdata(pdev, NULL);
649 iounmap(hdq_data->hdq_base); 648 iounmap(hdq_data->hdq_base);
650 kfree(hdq_data); 649 kfree(hdq_data);