diff options
Diffstat (limited to 'drivers/hwspinlock/u8500_hsem.c')
-rw-r--r-- | drivers/hwspinlock/u8500_hsem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwspinlock/u8500_hsem.c b/drivers/hwspinlock/u8500_hsem.c index 86980fe04117..401c33bcdb45 100644 --- a/drivers/hwspinlock/u8500_hsem.c +++ b/drivers/hwspinlock/u8500_hsem.c | |||
@@ -91,7 +91,7 @@ static const struct hwspinlock_ops u8500_hwspinlock_ops = { | |||
91 | .relax = u8500_hsem_relax, | 91 | .relax = u8500_hsem_relax, |
92 | }; | 92 | }; |
93 | 93 | ||
94 | static int __devinit u8500_hsem_probe(struct platform_device *pdev) | 94 | static int u8500_hsem_probe(struct platform_device *pdev) |
95 | { | 95 | { |
96 | struct hwspinlock_pdata *pdata = pdev->dev.platform_data; | 96 | struct hwspinlock_pdata *pdata = pdev->dev.platform_data; |
97 | struct hwspinlock_device *bank; | 97 | struct hwspinlock_device *bank; |
@@ -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; |
@@ -172,7 +172,7 @@ static int __devexit u8500_hsem_remove(struct platform_device *pdev) | |||
172 | 172 | ||
173 | static struct platform_driver u8500_hsem_driver = { | 173 | static struct platform_driver u8500_hsem_driver = { |
174 | .probe = u8500_hsem_probe, | 174 | .probe = u8500_hsem_probe, |
175 | .remove = __devexit_p(u8500_hsem_remove), | 175 | .remove = u8500_hsem_remove, |
176 | .driver = { | 176 | .driver = { |
177 | .name = "u8500_hsem", | 177 | .name = "u8500_hsem", |
178 | .owner = THIS_MODULE, | 178 | .owner = THIS_MODULE, |