Commit 57129106 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

hwspinlock: remove use of __devinit

CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9eb26bdd
...@@ -78,7 +78,7 @@ static const struct hwspinlock_ops omap_hwspinlock_ops = { ...@@ -78,7 +78,7 @@ static const struct hwspinlock_ops omap_hwspinlock_ops = {
.relax = omap_hwspinlock_relax, .relax = omap_hwspinlock_relax,
}; };
static int __devinit omap_hwspinlock_probe(struct platform_device *pdev) static int omap_hwspinlock_probe(struct platform_device *pdev)
{ {
struct hwspinlock_pdata *pdata = pdev->dev.platform_data; struct hwspinlock_pdata *pdata = pdev->dev.platform_data;
struct hwspinlock_device *bank; struct hwspinlock_device *bank;
......
...@@ -91,7 +91,7 @@ static const struct hwspinlock_ops u8500_hwspinlock_ops = { ...@@ -91,7 +91,7 @@ static const struct hwspinlock_ops u8500_hwspinlock_ops = {
.relax = u8500_hsem_relax, .relax = u8500_hsem_relax,
}; };
static int __devinit u8500_hsem_probe(struct platform_device *pdev) static int u8500_hsem_probe(struct platform_device *pdev)
{ {
struct hwspinlock_pdata *pdata = pdev->dev.platform_data; struct hwspinlock_pdata *pdata = pdev->dev.platform_data;
struct hwspinlock_device *bank; struct hwspinlock_device *bank;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment