Skip to content

Commit

Permalink
backlight: remove use of __devexit
Browse files Browse the repository at this point in the history
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: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Nov 28, 2012
1 parent 1b9e450 commit 7e4b9d0
Show file tree
Hide file tree
Showing 22 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion drivers/video/backlight/adp5520_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ static int adp5520_bl_probe(struct platform_device *pdev)
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 adp5520_bl *data = bl_get_data(bl);
Expand Down
6 changes: 3 additions & 3 deletions drivers/video/backlight/adp8860_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ static int adp8860_led_probe(struct i2c_client *client)
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 =
client->dev.platform_data;
Expand All @@ -315,7 +315,7 @@ static int adp8860_led_probe(struct i2c_client *client)
return 0;
}

static int __devexit adp8860_led_remove(struct i2c_client *client)
static int adp8860_led_remove(struct i2c_client *client)
{
return 0;
}
Expand Down Expand Up @@ -755,7 +755,7 @@ static int adp8860_probe(struct i2c_client *client,
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);

Expand Down
6 changes: 3 additions & 3 deletions drivers/video/backlight/adp8870_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ static int adp8870_led_probe(struct i2c_client *client)
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 =
client->dev.platform_data;
Expand All @@ -340,7 +340,7 @@ static int adp8870_led_probe(struct i2c_client *client)
return 0;
}

static int __devexit adp8870_led_remove(struct i2c_client *client)
static int adp8870_led_remove(struct i2c_client *client)
{
return 0;
}
Expand Down Expand Up @@ -929,7 +929,7 @@ static int adp8870_probe(struct i2c_client *client,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/ams369fg06.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ static int ams369fg06_probe(struct spi_device *spi)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/apple_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static int apple_bl_add(struct acpi_device *dev)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/corgi_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ static int corgi_lcd_probe(struct spi_device *spi)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/l4f00242t03.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ static int l4f00242t03_probe(struct spi_device *spi)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/ld9040.c
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ static int ld9040_probe(struct spi_device *spi)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/lm3533_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ static int lm3533_bl_probe(struct platform_device *pdev)
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 backlight_device *bd = bl->bd;
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/lm3630_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ static int lm3630_probe(struct i2c_client *client,
return ret;
}

static int __devexit lm3630_remove(struct i2c_client *client)
static int lm3630_remove(struct i2c_client *client)
{
int ret;
struct lm3630_chip_data *pchip = i2c_get_clientdata(client);
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/lm3639_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ static int lm3639_probe(struct i2c_client *client,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/lms283gf05.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static int lms283gf05_probe(struct spi_device *spi)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/lp855x_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ static int lp855x_probe(struct i2c_client *cl, const struct i2c_device_id *id)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/ltv350qv.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ static int ltv350qv_probe(struct spi_device *spi)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/max8925_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static int max8925_backlight_probe(struct platform_device *pdev)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/pcf50633-backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static int pcf50633_bl_probe(struct platform_device *pdev)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/platform_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static int platform_lcd_probe(struct platform_device *pdev)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/s6e63m0.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ static int s6e63m0_probe(struct spi_device *spi)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/tdo24m.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static int tdo24m_probe(struct spi_device *spi)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/tosa_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static int tosa_bl_probe(struct i2c_client *client,
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/tosa_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static int tosa_lcd_probe(struct spi_device *spi)
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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/video/backlight/vgg2432a4.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ static int vgg2432a4_probe(struct spi_device *spi)
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));
}
Expand Down

0 comments on commit 7e4b9d0

Please sign in to comment.