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 84144e6708c7e43d17f3975cc364a4a104a51334..eda2a1aa4adb1919a3563d5be2e5d3e773136658 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 2473be9ac5de9db614efd4ade79e6fada4530efc..f10f05d4ee9cc80aa40389281b9c71dbbfe2f148 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 e02219e5a3d8e594aa133693bd4d5e9baea40cca..1b14bfcdc176895632b84f6f46a35f851a48067b 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 437f573dc58290f69af8f342b67b395b44fbb188..b656dfa401a6edd8f50a8c04c5fffedbe46d96b6 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 49812991c5e69fe518a811a77c10053e4a018aac..bad76f51161b33a532cb8ccab2a801306d1f3732 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);