Commit 7e4b9d0b authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

backlight: 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: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1b9e450d
...@@ -333,7 +333,7 @@ static int adp5520_bl_probe(struct platform_device *pdev) ...@@ -333,7 +333,7 @@ static int adp5520_bl_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit adp5520_bl_remove(struct platform_device *pdev) static int adp5520_bl_remove(struct platform_device *pdev)
{ {
struct backlight_device *bl = platform_get_drvdata(pdev); struct backlight_device *bl = platform_get_drvdata(pdev);
struct adp5520_bl *data = bl_get_data(bl); struct adp5520_bl *data = bl_get_data(bl);
......
...@@ -295,7 +295,7 @@ static int adp8860_led_probe(struct i2c_client *client) ...@@ -295,7 +295,7 @@ static int adp8860_led_probe(struct i2c_client *client)
return ret; return ret;
} }
static int __devexit adp8860_led_remove(struct i2c_client *client) static int adp8860_led_remove(struct i2c_client *client)
{ {
struct adp8860_backlight_platform_data *pdata = struct adp8860_backlight_platform_data *pdata =
client->dev.platform_data; client->dev.platform_data;
...@@ -315,7 +315,7 @@ static int adp8860_led_probe(struct i2c_client *client) ...@@ -315,7 +315,7 @@ static int adp8860_led_probe(struct i2c_client *client)
return 0; return 0;
} }
static int __devexit adp8860_led_remove(struct i2c_client *client) static int adp8860_led_remove(struct i2c_client *client)
{ {
return 0; return 0;
} }
...@@ -755,7 +755,7 @@ static int adp8860_probe(struct i2c_client *client, ...@@ -755,7 +755,7 @@ static int adp8860_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit adp8860_remove(struct i2c_client *client) static int adp8860_remove(struct i2c_client *client)
{ {
struct adp8860_bl *data = i2c_get_clientdata(client); struct adp8860_bl *data = i2c_get_clientdata(client);
......
...@@ -320,7 +320,7 @@ static int adp8870_led_probe(struct i2c_client *client) ...@@ -320,7 +320,7 @@ static int adp8870_led_probe(struct i2c_client *client)
return ret; return ret;
} }
static int __devexit adp8870_led_remove(struct i2c_client *client) static int adp8870_led_remove(struct i2c_client *client)
{ {
struct adp8870_backlight_platform_data *pdata = struct adp8870_backlight_platform_data *pdata =
client->dev.platform_data; client->dev.platform_data;
...@@ -340,7 +340,7 @@ static int adp8870_led_probe(struct i2c_client *client) ...@@ -340,7 +340,7 @@ static int adp8870_led_probe(struct i2c_client *client)
return 0; return 0;
} }
static int __devexit adp8870_led_remove(struct i2c_client *client) static int adp8870_led_remove(struct i2c_client *client)
{ {
return 0; return 0;
} }
...@@ -929,7 +929,7 @@ static int adp8870_probe(struct i2c_client *client, ...@@ -929,7 +929,7 @@ static int adp8870_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit adp8870_remove(struct i2c_client *client) static int adp8870_remove(struct i2c_client *client)
{ {
struct adp8870_bl *data = i2c_get_clientdata(client); struct adp8870_bl *data = i2c_get_clientdata(client);
......
...@@ -548,7 +548,7 @@ static int ams369fg06_probe(struct spi_device *spi) ...@@ -548,7 +548,7 @@ static int ams369fg06_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ams369fg06_remove(struct spi_device *spi) static int ams369fg06_remove(struct spi_device *spi)
{ {
struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev); struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev);
......
...@@ -196,7 +196,7 @@ static int apple_bl_add(struct acpi_device *dev) ...@@ -196,7 +196,7 @@ static int apple_bl_add(struct acpi_device *dev)
return 0; return 0;
} }
static int __devexit apple_bl_remove(struct acpi_device *dev, int type) static int apple_bl_remove(struct acpi_device *dev, int type)
{ {
backlight_device_unregister(apple_backlight_device); backlight_device_unregister(apple_backlight_device);
......
...@@ -590,7 +590,7 @@ static int corgi_lcd_probe(struct spi_device *spi) ...@@ -590,7 +590,7 @@ static int corgi_lcd_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit corgi_lcd_remove(struct spi_device *spi) static int corgi_lcd_remove(struct spi_device *spi)
{ {
struct corgi_lcd *lcd = dev_get_drvdata(&spi->dev); struct corgi_lcd *lcd = dev_get_drvdata(&spi->dev);
......
...@@ -230,7 +230,7 @@ static int l4f00242t03_probe(struct spi_device *spi) ...@@ -230,7 +230,7 @@ static int l4f00242t03_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit l4f00242t03_remove(struct spi_device *spi) static int l4f00242t03_remove(struct spi_device *spi)
{ {
struct l4f00242t03_priv *priv = dev_get_drvdata(&spi->dev); struct l4f00242t03_priv *priv = dev_get_drvdata(&spi->dev);
......
...@@ -788,7 +788,7 @@ static int ld9040_probe(struct spi_device *spi) ...@@ -788,7 +788,7 @@ static int ld9040_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ld9040_remove(struct spi_device *spi) static int ld9040_remove(struct spi_device *spi)
{ {
struct ld9040 *lcd = dev_get_drvdata(&spi->dev); struct ld9040 *lcd = dev_get_drvdata(&spi->dev);
......
...@@ -351,7 +351,7 @@ static int lm3533_bl_probe(struct platform_device *pdev) ...@@ -351,7 +351,7 @@ static int lm3533_bl_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit lm3533_bl_remove(struct platform_device *pdev) static int lm3533_bl_remove(struct platform_device *pdev)
{ {
struct lm3533_bl *bl = platform_get_drvdata(pdev); struct lm3533_bl *bl = platform_get_drvdata(pdev);
struct backlight_device *bd = bl->bd; struct backlight_device *bd = bl->bd;
......
...@@ -429,7 +429,7 @@ static int lm3630_probe(struct i2c_client *client, ...@@ -429,7 +429,7 @@ static int lm3630_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit lm3630_remove(struct i2c_client *client) static int lm3630_remove(struct i2c_client *client)
{ {
int ret; int ret;
struct lm3630_chip_data *pchip = i2c_get_clientdata(client); struct lm3630_chip_data *pchip = i2c_get_clientdata(client);
......
...@@ -397,7 +397,7 @@ static int lm3639_probe(struct i2c_client *client, ...@@ -397,7 +397,7 @@ static int lm3639_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit lm3639_remove(struct i2c_client *client) static int lm3639_remove(struct i2c_client *client)
{ {
struct lm3639_chip_data *pchip = i2c_get_clientdata(client); struct lm3639_chip_data *pchip = i2c_get_clientdata(client);
......
...@@ -193,7 +193,7 @@ static int lms283gf05_probe(struct spi_device *spi) ...@@ -193,7 +193,7 @@ static int lms283gf05_probe(struct spi_device *spi)
return 0; return 0;
} }
static int __devexit lms283gf05_remove(struct spi_device *spi) static int lms283gf05_remove(struct spi_device *spi)
{ {
struct lms283gf05_state *st = dev_get_drvdata(&spi->dev); struct lms283gf05_state *st = dev_get_drvdata(&spi->dev);
......
...@@ -297,7 +297,7 @@ static int lp855x_probe(struct i2c_client *cl, const struct i2c_device_id *id) ...@@ -297,7 +297,7 @@ static int lp855x_probe(struct i2c_client *cl, const struct i2c_device_id *id)
return ret; return ret;
} }
static int __devexit lp855x_remove(struct i2c_client *cl) static int lp855x_remove(struct i2c_client *cl)
{ {
struct lp855x *lp = i2c_get_clientdata(cl); struct lp855x *lp = i2c_get_clientdata(cl);
......
...@@ -261,7 +261,7 @@ static int ltv350qv_probe(struct spi_device *spi) ...@@ -261,7 +261,7 @@ static int ltv350qv_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit ltv350qv_remove(struct spi_device *spi) static int ltv350qv_remove(struct spi_device *spi)
{ {
struct ltv350qv *lcd = dev_get_drvdata(&spi->dev); struct ltv350qv *lcd = dev_get_drvdata(&spi->dev);
......
...@@ -171,7 +171,7 @@ static int max8925_backlight_probe(struct platform_device *pdev) ...@@ -171,7 +171,7 @@ static int max8925_backlight_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit max8925_backlight_remove(struct platform_device *pdev) static int max8925_backlight_remove(struct platform_device *pdev)
{ {
struct backlight_device *bl = platform_get_drvdata(pdev); struct backlight_device *bl = platform_get_drvdata(pdev);
......
...@@ -145,7 +145,7 @@ static int pcf50633_bl_probe(struct platform_device *pdev) ...@@ -145,7 +145,7 @@ static int pcf50633_bl_probe(struct platform_device *pdev)
return 0; return 0;
} }
static int __devexit pcf50633_bl_remove(struct platform_device *pdev) static int pcf50633_bl_remove(struct platform_device *pdev)
{ {
struct pcf50633_bl *pcf_bl = platform_get_drvdata(pdev); struct pcf50633_bl *pcf_bl = platform_get_drvdata(pdev);
......
...@@ -112,7 +112,7 @@ static int platform_lcd_probe(struct platform_device *pdev) ...@@ -112,7 +112,7 @@ static int platform_lcd_probe(struct platform_device *pdev)
return err; return err;
} }
static int __devexit platform_lcd_remove(struct platform_device *pdev) static int platform_lcd_remove(struct platform_device *pdev)
{ {
struct platform_lcd *plcd = platform_get_drvdata(pdev); struct platform_lcd *plcd = platform_get_drvdata(pdev);
......
...@@ -825,7 +825,7 @@ static int s6e63m0_probe(struct spi_device *spi) ...@@ -825,7 +825,7 @@ static int s6e63m0_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit s6e63m0_remove(struct spi_device *spi) static int s6e63m0_remove(struct spi_device *spi)
{ {
struct s6e63m0 *lcd = dev_get_drvdata(&spi->dev); struct s6e63m0 *lcd = dev_get_drvdata(&spi->dev);
......
...@@ -401,7 +401,7 @@ static int tdo24m_probe(struct spi_device *spi) ...@@ -401,7 +401,7 @@ static int tdo24m_probe(struct spi_device *spi)
return err; return err;
} }
static int __devexit tdo24m_remove(struct spi_device *spi) static int tdo24m_remove(struct spi_device *spi)
{ {
struct tdo24m *lcd = dev_get_drvdata(&spi->dev); struct tdo24m *lcd = dev_get_drvdata(&spi->dev);
......
...@@ -126,7 +126,7 @@ static int tosa_bl_probe(struct i2c_client *client, ...@@ -126,7 +126,7 @@ static int tosa_bl_probe(struct i2c_client *client,
return ret; return ret;
} }
static int __devexit tosa_bl_remove(struct i2c_client *client) static int tosa_bl_remove(struct i2c_client *client)
{ {
struct tosa_bl_data *data = i2c_get_clientdata(client); struct tosa_bl_data *data = i2c_get_clientdata(client);
......
...@@ -226,7 +226,7 @@ static int tosa_lcd_probe(struct spi_device *spi) ...@@ -226,7 +226,7 @@ static int tosa_lcd_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit tosa_lcd_remove(struct spi_device *spi) static int tosa_lcd_remove(struct spi_device *spi)
{ {
struct tosa_lcd_data *data = dev_get_drvdata(&spi->dev); struct tosa_lcd_data *data = dev_get_drvdata(&spi->dev);
......
...@@ -240,7 +240,7 @@ static int vgg2432a4_probe(struct spi_device *spi) ...@@ -240,7 +240,7 @@ static int vgg2432a4_probe(struct spi_device *spi)
return 0; return 0;
} }
static int __devexit vgg2432a4_remove(struct spi_device *spi) static int vgg2432a4_remove(struct spi_device *spi)
{ {
return ili9320_remove(dev_get_drvdata(&spi->dev)); return ili9320_remove(dev_get_drvdata(&spi->dev));
} }
......
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