staging: nvec: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:41 +0000 (13:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 22:23:51 +0000 (14:23 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c
drivers/staging/nvec/nvec_kbd.c
drivers/staging/nvec/nvec_paz00.c
drivers/staging/nvec/nvec_power.c
drivers/staging/nvec/nvec_ps2.c

index d8180f0..c59b7b2 100644 (file)
@@ -853,7 +853,7 @@ static int tegra_nvec_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit tegra_nvec_remove(struct platform_device *pdev)
+static int tegra_nvec_remove(struct platform_device *pdev)
 {
        struct nvec_chip *nvec = platform_get_drvdata(pdev);
 
index 9048d59..7cb149b 100644 (file)
@@ -159,7 +159,7 @@ fail:
        return err;
 }
 
-static int __devexit nvec_kbd_remove(struct platform_device *pdev)
+static int nvec_kbd_remove(struct platform_device *pdev)
 {
        input_unregister_device(keys_dev.input);
        input_free_device(keys_dev.input);
index 4ac17fb..934b796 100644 (file)
@@ -72,7 +72,7 @@ static int nvec_paz00_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit nvec_paz00_remove(struct platform_device *pdev)
+static int nvec_paz00_remove(struct platform_device *pdev)
 {
        struct nvec_led *led = platform_get_drvdata(pdev);
 
index 6c702ed..b7b6d54 100644 (file)
@@ -407,7 +407,7 @@ static int nvec_power_probe(struct platform_device *pdev)
        return power_supply_register(&pdev->dev, psy);
 }
 
-static int __devexit nvec_power_remove(struct platform_device *pdev)
+static int nvec_power_remove(struct platform_device *pdev)
 {
        struct nvec_power *power = platform_get_drvdata(pdev);
 
index 59d8f5a..88dd288 100644 (file)
@@ -123,7 +123,7 @@ static int nvec_mouse_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit nvec_mouse_remove(struct platform_device *pdev)
+static int nvec_mouse_remove(struct platform_device *pdev)
 {
        serio_unregister_port(ps2_dev.ser_dev);