diff options
-rw-r--r-- | drivers/hwspinlock/omap_hwspinlock.c | 2 | ||||
-rw-r--r-- | drivers/hwspinlock/u8500_hsem.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwspinlock/omap_hwspinlock.c b/drivers/hwspinlock/omap_hwspinlock.c index f21b2ed6e18..292869cc903 100644 --- a/drivers/hwspinlock/omap_hwspinlock.c +++ b/drivers/hwspinlock/omap_hwspinlock.c | |||
@@ -142,7 +142,7 @@ iounmap_base: | |||
142 | return ret; | 142 | return ret; |
143 | } | 143 | } |
144 | 144 | ||
145 | static int __devexit omap_hwspinlock_remove(struct platform_device *pdev) | 145 | static int omap_hwspinlock_remove(struct platform_device *pdev) |
146 | { | 146 | { |
147 | struct hwspinlock_device *bank = platform_get_drvdata(pdev); | 147 | struct hwspinlock_device *bank = platform_get_drvdata(pdev); |
148 | void __iomem *io_base = bank->lock[0].priv - LOCK_BASE_OFFSET; | 148 | void __iomem *io_base = bank->lock[0].priv - LOCK_BASE_OFFSET; |
diff --git a/drivers/hwspinlock/u8500_hsem.c b/drivers/hwspinlock/u8500_hsem.c index 5a5b3f2e4eb..401c33bcdb4 100644 --- a/drivers/hwspinlock/u8500_hsem.c +++ b/drivers/hwspinlock/u8500_hsem.c | |||
@@ -148,7 +148,7 @@ iounmap_base: | |||
148 | return ret; | 148 | return ret; |
149 | } | 149 | } |
150 | 150 | ||
151 | static int __devexit u8500_hsem_remove(struct platform_device *pdev) | 151 | static int u8500_hsem_remove(struct platform_device *pdev) |
152 | { | 152 | { |
153 | struct hwspinlock_device *bank = platform_get_drvdata(pdev); | 153 | struct hwspinlock_device *bank = platform_get_drvdata(pdev); |
154 | void __iomem *io_base = bank->lock[0].priv - HSEM_REGISTER_OFFSET; | 154 | void __iomem *io_base = bank->lock[0].priv - HSEM_REGISTER_OFFSET; |