Permalink
Browse files

hwspinlock: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information...
1 parent 5712910 commit e533a349c0258f38a67afa1c2402a12f46227049 @wfp5p wfp5p committed with gregkh Nov 19, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 drivers/hwspinlock/omap_hwspinlock.c
  2. +1 −1 drivers/hwspinlock/u8500_hsem.c
@@ -142,7 +142,7 @@ static int omap_hwspinlock_probe(struct platform_device *pdev)
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);
void __iomem *io_base = bank->lock[0].priv - LOCK_BASE_OFFSET;
@@ -148,7 +148,7 @@ static int u8500_hsem_probe(struct platform_device *pdev)
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);
void __iomem *io_base = bank->lock[0].priv - HSEM_REGISTER_OFFSET;

0 comments on commit e533a34

Please sign in to comment.