]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 d8180f0cd1c789748d7627dda3777b28789589b4..c59b7b299d37346e9ba858d789ce9246c400f0c3 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 9048d597cc6bfebc2d3e967cde5cbc886c8e0754..7cb149bf3d3f0c78e3a7c4eacb4e7c2206024a71 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 4ac17fb6a0dc1d65fef5d39bea485fc63ea59a23..934b796222a26b7767e40626b4b194099034b05e 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 6c702ed7463de093ceaafa1f55db301b9433bf72..b7b6d54f58ec09d028c0dc678ca36d0f157adc0f 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 59d8f5a76360a3cab4bcb3da881f3b2e912a1c71..88dd288bf3d7c0e56669ad6e6eb63ef2c2c4d7f2 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);