hwspinlock: remove use of __devexit_p
authorBill Pemberton <[email protected]>
Mon, 19 Nov 2012 18:20:13 +0000 (13:20 -0500)
committerGreg Kroah-Hartman <[email protected]>
Wed, 28 Nov 2012 19:41:36 +0000 (11:41 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <[email protected]>
Cc: Ohad Ben-Cohen <[email protected]>
Cc: Srinidhi Kasagar <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/hwspinlock/omap_hwspinlock.c
drivers/hwspinlock/u8500_hsem.c

index 887d34effb3a3a40d4636a03e1783dc1e9f56584..28640b8a81a1cb08e4b0736dddfdd054764cd2a9 100644 (file)
@@ -163,7 +163,7 @@ static int __devexit omap_hwspinlock_remove(struct platform_device *pdev)
 
 static struct platform_driver omap_hwspinlock_driver = {
        .probe          = omap_hwspinlock_probe,
-       .remove         = __devexit_p(omap_hwspinlock_remove),
+       .remove         = omap_hwspinlock_remove,
        .driver         = {
                .name   = "omap_hwspinlock",
                .owner  = THIS_MODULE,
index 86980fe041179e388007bb042dfde84a667acf59..4039810e06d6146efe1df38d8c8ed0c3f6be31bb 100644 (file)
@@ -172,7 +172,7 @@ static int __devexit u8500_hsem_remove(struct platform_device *pdev)
 
 static struct platform_driver u8500_hsem_driver = {
        .probe          = u8500_hsem_probe,
-       .remove         = __devexit_p(u8500_hsem_remove),
+       .remove         = u8500_hsem_remove,
        .driver         = {
                .name   = "u8500_hsem",
                .owner  = THIS_MODULE,