leds: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:00 +0000 (13:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:35:06 +0000 (12:35 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Jan-Simon Moeller <jansimon.moeller@gmx.de>
Acked-by: Bryan Wu <cooloney@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 files changed:
drivers/leds/leds-adp5520.c
drivers/leds/leds-asic3.c
drivers/leds/leds-blinkm.c
drivers/leds/leds-cobalt-qube.c
drivers/leds/leds-cobalt-raq.c
drivers/leds/leds-da903x.c
drivers/leds/leds-da9052.c
drivers/leds/leds-gpio.c
drivers/leds/leds-lm3530.c
drivers/leds/leds-lm3533.c
drivers/leds/leds-lm355x.c
drivers/leds/leds-lm3642.c
drivers/leds/leds-lp3944.c
drivers/leds/leds-lp5521.c
drivers/leds/leds-lp8788.c
drivers/leds/leds-lt3593.c
drivers/leds/leds-max8997.c
drivers/leds/leds-mc13783.c
drivers/leds/leds-netxbig.c
drivers/leds/leds-ns2.c
drivers/leds/leds-ot200.c
drivers/leds/leds-pca955x.c
drivers/leds/leds-pca9633.c
drivers/leds/leds-pwm.c
drivers/leds/leds-rb532.c
drivers/leds/leds-regulator.c
drivers/leds/leds-renesas-tpu.c
drivers/leds/leds-sunfire.c
drivers/leds/leds-tca6507.c

index 28c9766..dcd9128 100644 (file)
@@ -183,7 +183,7 @@ err:
        return ret;
 }
 
-static int __devexit adp5520_led_remove(struct platform_device *pdev)
+static int adp5520_led_remove(struct platform_device *pdev)
 {
        struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data;
        struct adp5520_led *led;
index c700ad9..b474745 100644 (file)
@@ -125,7 +125,7 @@ out:
        return ret;
 }
 
-static int __devexit asic3_led_remove(struct platform_device *pdev)
+static int asic3_led_remove(struct platform_device *pdev)
 {
        struct asic3_led *led = pdev->dev.platform_data;
 
index 5ed27d3..a502678 100644 (file)
@@ -743,7 +743,7 @@ exit:
        return err;
 }
 
-static int __devexit blinkm_remove(struct i2c_client *client)
+static int blinkm_remove(struct i2c_client *client)
 {
        struct blinkm_data *data = i2c_get_clientdata(client);
        int ret = 0;
index f663979..ffa9930 100644 (file)
@@ -63,7 +63,7 @@ err_iounmap:
        return retval;
 }
 
-static int __devexit cobalt_qube_led_remove(struct platform_device *pdev)
+static int cobalt_qube_led_remove(struct platform_device *pdev)
 {
        led_classdev_unregister(&qube_front_led);
 
index 9d88dc2..d52e47d 100644 (file)
@@ -109,7 +109,7 @@ err_iounmap:
        return retval;
 }
 
-static int __devexit cobalt_raq_led_remove(struct platform_device *pdev)
+static int cobalt_raq_led_remove(struct platform_device *pdev)
 {
        led_classdev_unregister(&raq_power_off_led);
        led_classdev_unregister(&raq_web_led);
index bb17490..6f31b77 100644 (file)
@@ -136,7 +136,7 @@ static int da903x_led_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit da903x_led_remove(struct platform_device *pdev)
+static int da903x_led_remove(struct platform_device *pdev)
 {
        struct da903x_led *led = platform_get_drvdata(pdev);
 
index ded9931..efec433 100644 (file)
@@ -176,7 +176,7 @@ err:
        return error;
 }
 
-static int __devexit da9052_led_remove(struct platform_device *pdev)
+static int da9052_led_remove(struct platform_device *pdev)
 {
        struct da9052_led *led = platform_get_drvdata(pdev);
        struct da9052_pdata *pdata;
index 5c9efc7..291c207 100644 (file)
@@ -273,7 +273,7 @@ static int gpio_led_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit gpio_led_remove(struct platform_device *pdev)
+static int gpio_led_remove(struct platform_device *pdev)
 {
        struct gpio_leds_priv *priv = platform_get_drvdata(pdev);
        int i;
index 1aaaaa2..2141454 100644 (file)
@@ -452,7 +452,7 @@ err_create_file:
        return err;
 }
 
-static int __devexit lm3530_remove(struct i2c_client *client)
+static int lm3530_remove(struct i2c_client *client)
 {
        struct lm3530_data *drvdata = i2c_get_clientdata(client);
 
index 7a60440..bbf24d0 100644 (file)
@@ -742,7 +742,7 @@ err_unregister:
        return ret;
 }
 
-static int __devexit lm3533_led_remove(struct platform_device *pdev)
+static int lm3533_led_remove(struct platform_device *pdev)
 {
        struct lm3533_led *led = platform_get_drvdata(pdev);
 
index 0c9d3a0..b13ce03 100644 (file)
@@ -526,7 +526,7 @@ err_out:
        return err;
 }
 
-static int __devexit lm355x_remove(struct i2c_client *client)
+static int lm355x_remove(struct i2c_client *client)
 {
        struct lm355x_chip_data *chip = i2c_get_clientdata(client);
        struct lm355x_reg_data *preg = chip->regs;
index 20a4581..215a7c1 100644 (file)
@@ -420,7 +420,7 @@ err_out:
        return err;
 }
 
-static int __devexit lm3642_remove(struct i2c_client *client)
+static int lm3642_remove(struct i2c_client *client)
 {
        struct lm3642_chip_data *chip = i2c_get_clientdata(client);
 
index 1544124..b081f67 100644 (file)
@@ -411,7 +411,7 @@ static int lp3944_probe(struct i2c_client *client,
        return 0;
 }
 
-static int __devexit lp3944_remove(struct i2c_client *client)
+static int lp3944_remove(struct i2c_client *client)
 {
        struct lp3944_platform_data *pdata = client->dev.platform_data;
        struct lp3944_data *data = i2c_get_clientdata(client);
index 847434c..966f158 100644 (file)
@@ -855,7 +855,7 @@ fail1:
        return ret;
 }
 
-static int __devexit lp5521_remove(struct i2c_client *client)
+static int lp5521_remove(struct i2c_client *client)
 {
        struct lp5521_chip *chip = i2c_get_clientdata(client);
        int i;
index 27831ff..4353942 100644 (file)
@@ -167,7 +167,7 @@ static int lp8788_led_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit lp8788_led_remove(struct platform_device *pdev)
+static int lp8788_led_remove(struct platform_device *pdev)
 {
        struct lp8788_led *led = platform_get_drvdata(pdev);
 
index 6487293..34b3ba4 100644 (file)
@@ -173,7 +173,7 @@ err:
        return ret;
 }
 
-static int __devexit lt3593_led_remove(struct platform_device *pdev)
+static int lt3593_led_remove(struct platform_device *pdev)
 {
        int i;
        struct gpio_led_platform_data *pdata = pdev->dev.platform_data;
index f8db895..f449a8b 100644 (file)
@@ -292,7 +292,7 @@ static int max8997_led_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit max8997_led_remove(struct platform_device *pdev)
+static int max8997_led_remove(struct platform_device *pdev)
 {
        struct max8997_led *led = platform_get_drvdata(pdev);
 
index 39f72a7..e942ada 100644 (file)
@@ -348,7 +348,7 @@ err_register:
        return ret;
 }
 
-static int __devexit mc13783_led_remove(struct platform_device *pdev)
+static int mc13783_led_remove(struct platform_device *pdev)
 {
        struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev);
        struct mc13783_led *led = platform_get_drvdata(pdev);
index 5f24218..58a800b 100644 (file)
@@ -389,7 +389,7 @@ err_free_leds:
        return ret;
 }
 
-static int __devexit netxbig_led_remove(struct platform_device *pdev)
+static int netxbig_led_remove(struct platform_device *pdev)
 {
        struct netxbig_led_platform_data *pdata = pdev->dev.platform_data;
        struct netxbig_led_data *leds_data;
index f5d0df3..6315e88 100644 (file)
@@ -292,7 +292,7 @@ static int ns2_led_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit ns2_led_remove(struct platform_device *pdev)
+static int ns2_led_remove(struct platform_device *pdev)
 {
        int i;
        struct ns2_led_platform_data *pdata = pdev->dev.platform_data;
index 4c26aa2..ee14662 100644 (file)
@@ -144,7 +144,7 @@ err:
        return ret;
 }
 
-static int __devexit ot200_led_remove(struct platform_device *pdev)
+static int ot200_led_remove(struct platform_device *pdev)
 {
        int i;
 
index f07c520..706791a 100644 (file)
@@ -363,7 +363,7 @@ exit:
        return err;
 }
 
-static int __devexit pca955x_remove(struct i2c_client *client)
+static int pca955x_remove(struct i2c_client *client)
 {
        struct pca955x *pca955x = i2c_get_clientdata(client);
        int i;
index d55bd8d..9aae567 100644 (file)
@@ -164,7 +164,7 @@ exit:
        return err;
 }
 
-static int __devexit pca9633_remove(struct i2c_client *client)
+static int pca9633_remove(struct i2c_client *client)
 {
        struct pca9633_led *pca9633 = i2c_get_clientdata(client);
        int i;
index 7a988f1..e51ff7a 100644 (file)
@@ -107,7 +107,7 @@ err:
        return ret;
 }
 
-static int __devexit led_pwm_remove(struct platform_device *pdev)
+static int led_pwm_remove(struct platform_device *pdev)
 {
        int i;
        struct led_pwm_platform_data *pdata = pdev->dev.platform_data;
index 43f02f4..9ebdd50 100644 (file)
@@ -42,7 +42,7 @@ static int rb532_led_probe(struct platform_device *pdev)
        return led_classdev_register(&pdev->dev, &rb532_uled);
 }
 
-static int __devexit rb532_led_remove(struct platform_device *pdev)
+static int rb532_led_remove(struct platform_device *pdev)
 {
        led_classdev_unregister(&rb532_uled);
        return 0;
index adb33f7..4253a9b 100644 (file)
@@ -206,7 +206,7 @@ err_vcc:
        return ret;
 }
 
-static int __devexit regulator_led_remove(struct platform_device *pdev)
+static int regulator_led_remove(struct platform_device *pdev)
 {
        struct regulator_led *led = platform_get_drvdata(pdev);
 
index 053e457..bc89847 100644 (file)
@@ -309,7 +309,7 @@ static int r_tpu_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit r_tpu_remove(struct platform_device *pdev)
+static int r_tpu_remove(struct platform_device *pdev)
 {
        struct r_tpu_priv *p = platform_get_drvdata(pdev);
 
index f72886e..07ff5a3 100644 (file)
@@ -165,7 +165,7 @@ static int sunfire_led_generic_probe(struct platform_device *pdev,
        return 0;
 }
 
-static int __devexit sunfire_led_generic_remove(struct platform_device *pdev)
+static int sunfire_led_generic_remove(struct platform_device *pdev)
 {
        struct sunfire_drvdata *p = dev_get_drvdata(&pdev->dev);
        int i;
index 9acec61..b26a63b 100644 (file)
@@ -730,7 +730,7 @@ exit:
        return err;
 }
 
-static int __devexit tca6507_remove(struct i2c_client *client)
+static int tca6507_remove(struct i2c_client *client)
 {
        int i;
        struct tca6507_chip *tca = i2c_get_clientdata(client);