Commit 678e8a6b authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

leds: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Jan-Simon Moeller <jansimon.moeller@gmx.de>
Acked-by: default avatarBryan Wu <cooloney@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 98ea1ea2
...@@ -183,7 +183,7 @@ static int adp5520_led_probe(struct platform_device *pdev) ...@@ -183,7 +183,7 @@ static int adp5520_led_probe(struct platform_device *pdev)
return ret; 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_leds_platform_data *pdata = pdev->dev.platform_data;
struct adp5520_led *led; struct adp5520_led *led;
......
...@@ -125,7 +125,7 @@ static int asic3_led_probe(struct platform_device *pdev) ...@@ -125,7 +125,7 @@ static int asic3_led_probe(struct platform_device *pdev)
return ret; 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; struct asic3_led *led = pdev->dev.platform_data;
......
...@@ -743,7 +743,7 @@ static int blinkm_probe(struct i2c_client *client, ...@@ -743,7 +743,7 @@ static int blinkm_probe(struct i2c_client *client,
return err; 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); struct blinkm_data *data = i2c_get_clientdata(client);
int ret = 0; int ret = 0;
......
...@@ -63,7 +63,7 @@ static int cobalt_qube_led_probe(struct platform_device *pdev) ...@@ -63,7 +63,7 @@ static int cobalt_qube_led_probe(struct platform_device *pdev)
return retval; 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); led_classdev_unregister(&qube_front_led);
......
...@@ -109,7 +109,7 @@ static int cobalt_raq_led_probe(struct platform_device *pdev) ...@@ -109,7 +109,7 @@ static int cobalt_raq_led_probe(struct platform_device *pdev)
return retval; 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_power_off_led);
led_classdev_unregister(&raq_web_led); led_classdev_unregister(&raq_web_led);
......
...@@ -136,7 +136,7 @@ static int da903x_led_probe(struct platform_device *pdev) ...@@ -136,7 +136,7 @@ static int da903x_led_probe(struct platform_device *pdev)
return 0; 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); struct da903x_led *led = platform_get_drvdata(pdev);
......
...@@ -176,7 +176,7 @@ static int da9052_led_probe(struct platform_device *pdev) ...@@ -176,7 +176,7 @@ static int da9052_led_probe(struct platform_device *pdev)
return error; 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_led *led = platform_get_drvdata(pdev);
struct da9052_pdata *pdata; struct da9052_pdata *pdata;
......
...@@ -273,7 +273,7 @@ static int gpio_led_probe(struct platform_device *pdev) ...@@ -273,7 +273,7 @@ static int gpio_led_probe(struct platform_device *pdev)
return 0; 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); struct gpio_leds_priv *priv = platform_get_drvdata(pdev);
int i; int i;
......
...@@ -452,7 +452,7 @@ static int lm3530_probe(struct i2c_client *client, ...@@ -452,7 +452,7 @@ static int lm3530_probe(struct i2c_client *client,
return err; 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); struct lm3530_data *drvdata = i2c_get_clientdata(client);
......
...@@ -742,7 +742,7 @@ static int lm3533_led_probe(struct platform_device *pdev) ...@@ -742,7 +742,7 @@ static int lm3533_led_probe(struct platform_device *pdev)
return ret; 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); struct lm3533_led *led = platform_get_drvdata(pdev);
......
...@@ -526,7 +526,7 @@ static int lm355x_probe(struct i2c_client *client, ...@@ -526,7 +526,7 @@ static int lm355x_probe(struct i2c_client *client,
return err; 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_chip_data *chip = i2c_get_clientdata(client);
struct lm355x_reg_data *preg = chip->regs; struct lm355x_reg_data *preg = chip->regs;
......
...@@ -420,7 +420,7 @@ static int lm3642_probe(struct i2c_client *client, ...@@ -420,7 +420,7 @@ static int lm3642_probe(struct i2c_client *client,
return err; 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); struct lm3642_chip_data *chip = i2c_get_clientdata(client);
......
...@@ -411,7 +411,7 @@ static int lp3944_probe(struct i2c_client *client, ...@@ -411,7 +411,7 @@ static int lp3944_probe(struct i2c_client *client,
return 0; 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_platform_data *pdata = client->dev.platform_data;
struct lp3944_data *data = i2c_get_clientdata(client); struct lp3944_data *data = i2c_get_clientdata(client);
......
...@@ -855,7 +855,7 @@ static int lp5521_probe(struct i2c_client *client, ...@@ -855,7 +855,7 @@ static int lp5521_probe(struct i2c_client *client,
return ret; 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); struct lp5521_chip *chip = i2c_get_clientdata(client);
int i; int i;
......
...@@ -167,7 +167,7 @@ static int lp8788_led_probe(struct platform_device *pdev) ...@@ -167,7 +167,7 @@ static int lp8788_led_probe(struct platform_device *pdev)
return 0; 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); struct lp8788_led *led = platform_get_drvdata(pdev);
......
...@@ -173,7 +173,7 @@ static int lt3593_led_probe(struct platform_device *pdev) ...@@ -173,7 +173,7 @@ static int lt3593_led_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit lt3593_led_remove(struct platform_device *pdev) static int lt3593_led_remove(struct platform_device *pdev)
{ {
int i; int i;
struct gpio_led_platform_data *pdata = pdev->dev.platform_data; struct gpio_led_platform_data *pdata = pdev->dev.platform_data;
......
...@@ -292,7 +292,7 @@ static int max8997_led_probe(struct platform_device *pdev) ...@@ -292,7 +292,7 @@ static int max8997_led_probe(struct platform_device *pdev)
return 0; 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); struct max8997_led *led = platform_get_drvdata(pdev);
......
...@@ -348,7 +348,7 @@ static int mc13783_led_probe(struct platform_device *pdev) ...@@ -348,7 +348,7 @@ static int mc13783_led_probe(struct platform_device *pdev)
return ret; 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 mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev);
struct mc13783_led *led = platform_get_drvdata(pdev); struct mc13783_led *led = platform_get_drvdata(pdev);
......
...@@ -389,7 +389,7 @@ static int netxbig_led_probe(struct platform_device *pdev) ...@@ -389,7 +389,7 @@ static int netxbig_led_probe(struct platform_device *pdev)
return ret; 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_platform_data *pdata = pdev->dev.platform_data;
struct netxbig_led_data *leds_data; struct netxbig_led_data *leds_data;
......
...@@ -292,7 +292,7 @@ static int ns2_led_probe(struct platform_device *pdev) ...@@ -292,7 +292,7 @@ static int ns2_led_probe(struct platform_device *pdev)
return 0; return 0;
} }
static int __devexit ns2_led_remove(struct platform_device *pdev) static int ns2_led_remove(struct platform_device *pdev)
{ {
int i; int i;
struct ns2_led_platform_data *pdata = pdev->dev.platform_data; struct ns2_led_platform_data *pdata = pdev->dev.platform_data;
......
...@@ -144,7 +144,7 @@ static int ot200_led_probe(struct platform_device *pdev) ...@@ -144,7 +144,7 @@ static int ot200_led_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit ot200_led_remove(struct platform_device *pdev) static int ot200_led_remove(struct platform_device *pdev)
{ {
int i; int i;
......
...@@ -363,7 +363,7 @@ static int pca955x_probe(struct i2c_client *client, ...@@ -363,7 +363,7 @@ static int pca955x_probe(struct i2c_client *client,
return err; 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); struct pca955x *pca955x = i2c_get_clientdata(client);
int i; int i;
......
...@@ -164,7 +164,7 @@ static int pca9633_probe(struct i2c_client *client, ...@@ -164,7 +164,7 @@ static int pca9633_probe(struct i2c_client *client,
return err; 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); struct pca9633_led *pca9633 = i2c_get_clientdata(client);
int i; int i;
......
...@@ -107,7 +107,7 @@ static int led_pwm_probe(struct platform_device *pdev) ...@@ -107,7 +107,7 @@ static int led_pwm_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit led_pwm_remove(struct platform_device *pdev) static int led_pwm_remove(struct platform_device *pdev)
{ {
int i; int i;
struct led_pwm_platform_data *pdata = pdev->dev.platform_data; struct led_pwm_platform_data *pdata = pdev->dev.platform_data;
......
...@@ -42,7 +42,7 @@ static int rb532_led_probe(struct platform_device *pdev) ...@@ -42,7 +42,7 @@ static int rb532_led_probe(struct platform_device *pdev)
return led_classdev_register(&pdev->dev, &rb532_uled); 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); led_classdev_unregister(&rb532_uled);
return 0; return 0;
......
...@@ -206,7 +206,7 @@ static int regulator_led_probe(struct platform_device *pdev) ...@@ -206,7 +206,7 @@ static int regulator_led_probe(struct platform_device *pdev)
return ret; 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); struct regulator_led *led = platform_get_drvdata(pdev);
......
...@@ -309,7 +309,7 @@ static int r_tpu_probe(struct platform_device *pdev) ...@@ -309,7 +309,7 @@ static int r_tpu_probe(struct platform_device *pdev)
return ret; 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); struct r_tpu_priv *p = platform_get_drvdata(pdev);
......
...@@ -165,7 +165,7 @@ static int sunfire_led_generic_probe(struct platform_device *pdev, ...@@ -165,7 +165,7 @@ static int sunfire_led_generic_probe(struct platform_device *pdev,
return 0; 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); struct sunfire_drvdata *p = dev_get_drvdata(&pdev->dev);
int i; int i;
......
...@@ -730,7 +730,7 @@ static int tca6507_probe(struct i2c_client *client, ...@@ -730,7 +730,7 @@ static int tca6507_probe(struct i2c_client *client,
return err; return err;
} }
static int __devexit tca6507_remove(struct i2c_client *client) static int tca6507_remove(struct i2c_client *client)
{ {
int i; int i;
struct tca6507_chip *tca = i2c_get_clientdata(client); struct tca6507_chip *tca = i2c_get_clientdata(client);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment