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

hwspinlock: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit 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 57129106
...@@ -142,7 +142,7 @@ static int omap_hwspinlock_probe(struct platform_device *pdev) ...@@ -142,7 +142,7 @@ static int omap_hwspinlock_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit omap_hwspinlock_remove(struct platform_device *pdev) static int omap_hwspinlock_remove(struct platform_device *pdev)
{ {
struct hwspinlock_device *bank = platform_get_drvdata(pdev); struct hwspinlock_device *bank = platform_get_drvdata(pdev);
void __iomem *io_base = bank->lock[0].priv - LOCK_BASE_OFFSET; void __iomem *io_base = bank->lock[0].priv - LOCK_BASE_OFFSET;
......
...@@ -148,7 +148,7 @@ static int u8500_hsem_probe(struct platform_device *pdev) ...@@ -148,7 +148,7 @@ static int u8500_hsem_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit u8500_hsem_remove(struct platform_device *pdev) static int u8500_hsem_remove(struct platform_device *pdev)
{ {
struct hwspinlock_device *bank = platform_get_drvdata(pdev); struct hwspinlock_device *bank = platform_get_drvdata(pdev);
void __iomem *io_base = bank->lock[0].priv - HSEM_REGISTER_OFFSET; void __iomem *io_base = bank->lock[0].priv - HSEM_REGISTER_OFFSET;
......
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