backlight: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:34 +0000 (13:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:06:39 +0000 (12:06 -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: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 files changed:
drivers/video/backlight/adp5520_bl.c
drivers/video/backlight/adp8860_bl.c
drivers/video/backlight/adp8870_bl.c
drivers/video/backlight/ams369fg06.c
drivers/video/backlight/apple_bl.c
drivers/video/backlight/corgi_lcd.c
drivers/video/backlight/l4f00242t03.c
drivers/video/backlight/ld9040.c
drivers/video/backlight/lm3533_bl.c
drivers/video/backlight/lm3630_bl.c
drivers/video/backlight/lm3639_bl.c
drivers/video/backlight/lms283gf05.c
drivers/video/backlight/lp855x_bl.c
drivers/video/backlight/ltv350qv.c
drivers/video/backlight/max8925_bl.c
drivers/video/backlight/pcf50633-backlight.c
drivers/video/backlight/platform_lcd.c
drivers/video/backlight/s6e63m0.c
drivers/video/backlight/tdo24m.c
drivers/video/backlight/tosa_bl.c
drivers/video/backlight/tosa_lcd.c
drivers/video/backlight/vgg2432a4.c

index a7eb3c4..a1e41d4 100644 (file)
@@ -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);
index 6feda75..6bb72c0 100644 (file)
@@ -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;
@@ -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;
 }
@@ -755,7 +755,7 @@ out1:
        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);
 
index 0ef93e1..63c882b 100644 (file)
@@ -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;
@@ -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;
 }
@@ -929,7 +929,7 @@ out1:
        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);
 
index fbe43b0..f57e190 100644 (file)
@@ -548,7 +548,7 @@ out_lcd_unregister:
        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);
 
index 5b650be..f088d4c 100644 (file)
@@ -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);
 
index d542247..eaaebf2 100644 (file)
@@ -590,7 +590,7 @@ err_unregister_lcd:
        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);
 
index 2ffcee0..f5aa0a5 100644 (file)
@@ -230,7 +230,7 @@ err1:
        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);
 
index 77ba103..1cb3524 100644 (file)
@@ -788,7 +788,7 @@ out_free_regulator:
        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);
 
index 029901e..5d18d4d 100644 (file)
@@ -351,7 +351,7 @@ err_unregister:
        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;
index cbc58d7..0207bc0 100644 (file)
@@ -429,7 +429,7 @@ err_chip_init:
        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);
index de292c1..b0e1e8b 100644 (file)
@@ -397,7 +397,7 @@ err_out:
        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);
 
index e77fd1c..b29c707 100644 (file)
@@ -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);
 
index b41c10f..fd985e0 100644 (file)
@@ -297,7 +297,7 @@ err_dev:
        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);
 
index b449bf2..226d813 100644 (file)
@@ -261,7 +261,7 @@ out_unregister:
        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);
 
index 191c523..c6bec7a 100644 (file)
@@ -171,7 +171,7 @@ out:
        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);
 
index db83fba..0087396 100644 (file)
@@ -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);
 
index 8b2992c..894bfc5 100644 (file)
@@ -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);
 
index 11d08bc..484e10d 100644 (file)
@@ -825,7 +825,7 @@ out_lcd_unregister:
        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);
 
index b5a30ca..146ffb9 100644 (file)
@@ -401,7 +401,7 @@ out_unregister:
        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);
 
index dbcb89a..a0521ab 100644 (file)
@@ -126,7 +126,7 @@ err_reg:
        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);
 
index 6858116..86fff88 100644 (file)
@@ -226,7 +226,7 @@ err_gpio_tg:
        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);
 
index db767be..712b0ac 100644 (file)
@@ -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));
 }