extcon: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:20:06 +0000 (13:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 23:57:24 +0000 (15:57 -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: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon-adc-jack.c
drivers/extcon/extcon-arizona.c
drivers/extcon/extcon-gpio.c
drivers/extcon/extcon-max77693.c
drivers/extcon/extcon-max8997.c

index 84144e6..eda2a1a 100644 (file)
@@ -188,7 +188,7 @@ static int adc_jack_remove(struct platform_device *pdev)
 
 static struct platform_driver adc_jack_driver = {
        .probe          = adc_jack_probe,
-       .remove         = __devexit_p(adc_jack_remove),
+       .remove         = adc_jack_remove,
        .driver         = {
                .name   = "adc-jack",
                .owner  = THIS_MODULE,
index 2473be9..f10f05d 100644 (file)
@@ -544,7 +544,7 @@ static struct platform_driver arizona_extcon_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = arizona_extcon_probe,
-       .remove         = __devexit_p(arizona_extcon_remove),
+       .remove         = arizona_extcon_remove,
 };
 
 module_platform_driver(arizona_extcon_driver);
index e02219e..1b14bfc 100644 (file)
@@ -150,7 +150,7 @@ static int gpio_extcon_remove(struct platform_device *pdev)
 
 static struct platform_driver gpio_extcon_driver = {
        .probe          = gpio_extcon_probe,
-       .remove         = __devexit_p(gpio_extcon_remove),
+       .remove         = gpio_extcon_remove,
        .driver         = {
                .name   = "extcon-gpio",
                .owner  = THIS_MODULE,
index 437f573..b656dfa 100644 (file)
@@ -795,7 +795,7 @@ static struct platform_driver max77693_muic_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = max77693_muic_probe,
-       .remove         = __devexit_p(max77693_muic_remove),
+       .remove         = max77693_muic_remove,
 };
 
 module_platform_driver(max77693_muic_driver);
index 4981299..bad76f5 100644 (file)
@@ -531,7 +531,7 @@ static struct platform_driver max8997_muic_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = max8997_muic_probe,
-       .remove         = __devexit_p(max8997_muic_remove),
+       .remove         = max8997_muic_remove,
 };
 
 module_platform_driver(max8997_muic_driver);