hwspinlock: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:25:52 +0000 (13:25 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 19:41:36 +0000 (11:41 -0800)
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>
drivers/hwspinlock/omap_hwspinlock.c
drivers/hwspinlock/u8500_hsem.c

index f21b2ed..292869c 100644 (file)
@@ -142,7 +142,7 @@ iounmap_base:
        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;
index 5a5b3f2..401c33b 100644 (file)
@@ -148,7 +148,7 @@ iounmap_base:
        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;