aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwspinlock/omap_hwspinlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwspinlock/omap_hwspinlock.c')
-rw-r--r--drivers/hwspinlock/omap_hwspinlock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwspinlock/omap_hwspinlock.c b/drivers/hwspinlock/omap_hwspinlock.c
index 887d34effb3a..292869cc9034 100644
--- a/drivers/hwspinlock/omap_hwspinlock.c
+++ b/drivers/hwspinlock/omap_hwspinlock.c
@@ -78,7 +78,7 @@ static const struct hwspinlock_ops omap_hwspinlock_ops = {
78 .relax = omap_hwspinlock_relax, 78 .relax = omap_hwspinlock_relax,
79}; 79};
80 80
81static int __devinit omap_hwspinlock_probe(struct platform_device *pdev) 81static int omap_hwspinlock_probe(struct platform_device *pdev)
82{ 82{
83 struct hwspinlock_pdata *pdata = pdev->dev.platform_data; 83 struct hwspinlock_pdata *pdata = pdev->dev.platform_data;
84 struct hwspinlock_device *bank; 84 struct hwspinlock_device *bank;
@@ -142,7 +142,7 @@ iounmap_base:
142 return ret; 142 return ret;
143} 143}
144 144
145static int __devexit omap_hwspinlock_remove(struct platform_device *pdev) 145static 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;
@@ -163,7 +163,7 @@ static int __devexit omap_hwspinlock_remove(struct platform_device *pdev)
163 163
164static struct platform_driver omap_hwspinlock_driver = { 164static struct platform_driver omap_hwspinlock_driver = {
165 .probe = omap_hwspinlock_probe, 165 .probe = omap_hwspinlock_probe,
166 .remove = __devexit_p(omap_hwspinlock_remove), 166 .remove = omap_hwspinlock_remove,
167 .driver = { 167 .driver = {
168 .name = "omap_hwspinlock", 168 .name = "omap_hwspinlock",
169 .owner = THIS_MODULE, 169 .owner = THIS_MODULE,