char: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:19:58 +0000 (13:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:55:18 +0000 (12:55 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mattia Dongili <malattia@linux.it>
Cc: platform-driver-x86@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/sonypi.c
drivers/char/tb0219.c

index 9b4f0116ff21c95d73d2ad2da39d7fb40dc24ee8..34f0db34fcd348d0519f6d09193781253f87f7b5 100644 (file)
@@ -1491,7 +1491,7 @@ static struct platform_driver sonypi_driver = {
                .pm     = SONYPI_PM,
        },
        .probe          = sonypi_probe,
-       .remove         = __devexit_p(sonypi_remove),
+       .remove         = sonypi_remove,
        .shutdown       = sonypi_shutdown,
 };
 
index ad264185eb10a0fb43d1c67ed86a7cbab9b70381..6bfe2af844eb851037d02701d1d6df8f3adc13bb 100644 (file)
@@ -334,7 +334,7 @@ static struct platform_device *tb0219_platform_device;
 
 static struct platform_driver tb0219_device_driver = {
        .probe          = tb0219_probe,
-       .remove         = __devexit_p(tb0219_remove),
+       .remove         = tb0219_remove,
        .driver         = {
                .name   = "TB0219",
                .owner  = THIS_MODULE,