aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r--drivers/video/backlight/adp5520_bl.c6
-rw-r--r--drivers/video/backlight/adp8860_bl.c14
-rw-r--r--drivers/video/backlight/adp8870_bl.c14
-rw-r--r--drivers/video/backlight/ams369fg06.c6
-rw-r--r--drivers/video/backlight/apple_bl.c4
-rw-r--r--drivers/video/backlight/corgi_lcd.c6
-rw-r--r--drivers/video/backlight/ep93xx_bl.c2
-rw-r--r--drivers/video/backlight/hp680_bl.c2
-rw-r--r--drivers/video/backlight/ili9320.c4
-rw-r--r--drivers/video/backlight/l4f00242t03.c6
-rw-r--r--drivers/video/backlight/ld9040.c4
-rw-r--r--drivers/video/backlight/lm3533_bl.c8
-rw-r--r--drivers/video/backlight/lm3630_bl.c8
-rw-r--r--drivers/video/backlight/lm3639_bl.c8
-rw-r--r--drivers/video/backlight/lms283gf05.c6
-rw-r--r--drivers/video/backlight/lp855x_bl.c4
-rw-r--r--drivers/video/backlight/ltv350qv.c6
-rw-r--r--drivers/video/backlight/max8925_bl.c6
-rw-r--r--drivers/video/backlight/pcf50633-backlight.c6
-rw-r--r--drivers/video/backlight/platform_lcd.c6
-rw-r--r--drivers/video/backlight/s6e63m0.c6
-rw-r--r--drivers/video/backlight/tdo24m.c6
-rw-r--r--drivers/video/backlight/tosa_bl.c6
-rw-r--r--drivers/video/backlight/tosa_lcd.c6
-rw-r--r--drivers/video/backlight/vgg2432a4.c6
25 files changed, 78 insertions, 78 deletions
diff --git a/drivers/video/backlight/adp5520_bl.c b/drivers/video/backlight/adp5520_bl.c
index df5db99af23d..a1e41d4faa71 100644
--- a/drivers/video/backlight/adp5520_bl.c
+++ b/drivers/video/backlight/adp5520_bl.c
@@ -282,7 +282,7 @@ static const struct attribute_group adp5520_bl_attr_group = {
282 .attrs = adp5520_bl_attributes, 282 .attrs = adp5520_bl_attributes,
283}; 283};
284 284
285static int __devinit adp5520_bl_probe(struct platform_device *pdev) 285static int adp5520_bl_probe(struct platform_device *pdev)
286{ 286{
287 struct backlight_properties props; 287 struct backlight_properties props;
288 struct backlight_device *bl; 288 struct backlight_device *bl;
@@ -333,7 +333,7 @@ static int __devinit adp5520_bl_probe(struct platform_device *pdev)
333 return ret; 333 return ret;
334} 334}
335 335
336static int __devexit adp5520_bl_remove(struct platform_device *pdev) 336static int adp5520_bl_remove(struct platform_device *pdev)
337{ 337{
338 struct backlight_device *bl = platform_get_drvdata(pdev); 338 struct backlight_device *bl = platform_get_drvdata(pdev);
339 struct adp5520_bl *data = bl_get_data(bl); 339 struct adp5520_bl *data = bl_get_data(bl);
@@ -375,7 +375,7 @@ static struct platform_driver adp5520_bl_driver = {
375 .owner = THIS_MODULE, 375 .owner = THIS_MODULE,
376 }, 376 },
377 .probe = adp5520_bl_probe, 377 .probe = adp5520_bl_probe,
378 .remove = __devexit_p(adp5520_bl_remove), 378 .remove = adp5520_bl_remove,
379 .suspend = adp5520_bl_suspend, 379 .suspend = adp5520_bl_suspend,
380 .resume = adp5520_bl_resume, 380 .resume = adp5520_bl_resume,
381}; 381};
diff --git a/drivers/video/backlight/adp8860_bl.c b/drivers/video/backlight/adp8860_bl.c
index 77d1fdba597f..6bb72c0cb803 100644
--- a/drivers/video/backlight/adp8860_bl.c
+++ b/drivers/video/backlight/adp8860_bl.c
@@ -213,7 +213,7 @@ static int adp8860_led_setup(struct adp8860_led *led)
213 return ret; 213 return ret;
214} 214}
215 215
216static int __devinit adp8860_led_probe(struct i2c_client *client) 216static int adp8860_led_probe(struct i2c_client *client)
217{ 217{
218 struct adp8860_backlight_platform_data *pdata = 218 struct adp8860_backlight_platform_data *pdata =
219 client->dev.platform_data; 219 client->dev.platform_data;
@@ -295,7 +295,7 @@ static int __devinit adp8860_led_probe(struct i2c_client *client)
295 return ret; 295 return ret;
296} 296}
297 297
298static int __devexit adp8860_led_remove(struct i2c_client *client) 298static int adp8860_led_remove(struct i2c_client *client)
299{ 299{
300 struct adp8860_backlight_platform_data *pdata = 300 struct adp8860_backlight_platform_data *pdata =
301 client->dev.platform_data; 301 client->dev.platform_data;
@@ -310,12 +310,12 @@ static int __devexit adp8860_led_remove(struct i2c_client *client)
310 return 0; 310 return 0;
311} 311}
312#else 312#else
313static int __devinit adp8860_led_probe(struct i2c_client *client) 313static int adp8860_led_probe(struct i2c_client *client)
314{ 314{
315 return 0; 315 return 0;
316} 316}
317 317
318static int __devexit adp8860_led_remove(struct i2c_client *client) 318static int adp8860_led_remove(struct i2c_client *client)
319{ 319{
320 return 0; 320 return 0;
321} 321}
@@ -650,7 +650,7 @@ static const struct attribute_group adp8860_bl_attr_group = {
650 .attrs = adp8860_bl_attributes, 650 .attrs = adp8860_bl_attributes,
651}; 651};
652 652
653static int __devinit adp8860_probe(struct i2c_client *client, 653static int adp8860_probe(struct i2c_client *client,
654 const struct i2c_device_id *id) 654 const struct i2c_device_id *id)
655{ 655{
656 struct backlight_device *bl; 656 struct backlight_device *bl;
@@ -755,7 +755,7 @@ out1:
755 return ret; 755 return ret;
756} 756}
757 757
758static int __devexit adp8860_remove(struct i2c_client *client) 758static int adp8860_remove(struct i2c_client *client)
759{ 759{
760 struct adp8860_bl *data = i2c_get_clientdata(client); 760 struct adp8860_bl *data = i2c_get_clientdata(client);
761 761
@@ -805,7 +805,7 @@ static struct i2c_driver adp8860_driver = {
805 .name = KBUILD_MODNAME, 805 .name = KBUILD_MODNAME,
806 }, 806 },
807 .probe = adp8860_probe, 807 .probe = adp8860_probe,
808 .remove = __devexit_p(adp8860_remove), 808 .remove = adp8860_remove,
809 .suspend = adp8860_i2c_suspend, 809 .suspend = adp8860_i2c_suspend,
810 .resume = adp8860_i2c_resume, 810 .resume = adp8860_i2c_resume,
811 .id_table = adp8860_id, 811 .id_table = adp8860_id,
diff --git a/drivers/video/backlight/adp8870_bl.c b/drivers/video/backlight/adp8870_bl.c
index edf7f91c8e61..63c882b8177a 100644
--- a/drivers/video/backlight/adp8870_bl.c
+++ b/drivers/video/backlight/adp8870_bl.c
@@ -235,7 +235,7 @@ static int adp8870_led_setup(struct adp8870_led *led)
235 return ret; 235 return ret;
236} 236}
237 237
238static int __devinit adp8870_led_probe(struct i2c_client *client) 238static int adp8870_led_probe(struct i2c_client *client)
239{ 239{
240 struct adp8870_backlight_platform_data *pdata = 240 struct adp8870_backlight_platform_data *pdata =
241 client->dev.platform_data; 241 client->dev.platform_data;
@@ -320,7 +320,7 @@ static int __devinit adp8870_led_probe(struct i2c_client *client)
320 return ret; 320 return ret;
321} 321}
322 322
323static int __devexit adp8870_led_remove(struct i2c_client *client) 323static int adp8870_led_remove(struct i2c_client *client)
324{ 324{
325 struct adp8870_backlight_platform_data *pdata = 325 struct adp8870_backlight_platform_data *pdata =
326 client->dev.platform_data; 326 client->dev.platform_data;
@@ -335,12 +335,12 @@ static int __devexit adp8870_led_remove(struct i2c_client *client)
335 return 0; 335 return 0;
336} 336}
337#else 337#else
338static int __devinit adp8870_led_probe(struct i2c_client *client) 338static int adp8870_led_probe(struct i2c_client *client)
339{ 339{
340 return 0; 340 return 0;
341} 341}
342 342
343static int __devexit adp8870_led_remove(struct i2c_client *client) 343static int adp8870_led_remove(struct i2c_client *client)
344{ 344{
345 return 0; 345 return 0;
346} 346}
@@ -839,7 +839,7 @@ static const struct attribute_group adp8870_bl_attr_group = {
839 .attrs = adp8870_bl_attributes, 839 .attrs = adp8870_bl_attributes,
840}; 840};
841 841
842static int __devinit adp8870_probe(struct i2c_client *client, 842static int adp8870_probe(struct i2c_client *client,
843 const struct i2c_device_id *id) 843 const struct i2c_device_id *id)
844{ 844{
845 struct backlight_properties props; 845 struct backlight_properties props;
@@ -929,7 +929,7 @@ out1:
929 return ret; 929 return ret;
930} 930}
931 931
932static int __devexit adp8870_remove(struct i2c_client *client) 932static int adp8870_remove(struct i2c_client *client)
933{ 933{
934 struct adp8870_bl *data = i2c_get_clientdata(client); 934 struct adp8870_bl *data = i2c_get_clientdata(client);
935 935
@@ -977,7 +977,7 @@ static struct i2c_driver adp8870_driver = {
977 .name = KBUILD_MODNAME, 977 .name = KBUILD_MODNAME,
978 }, 978 },
979 .probe = adp8870_probe, 979 .probe = adp8870_probe,
980 .remove = __devexit_p(adp8870_remove), 980 .remove = adp8870_remove,
981 .suspend = adp8870_i2c_suspend, 981 .suspend = adp8870_i2c_suspend,
982 .resume = adp8870_i2c_resume, 982 .resume = adp8870_i2c_resume,
983 .id_table = adp8870_id, 983 .id_table = adp8870_id,
diff --git a/drivers/video/backlight/ams369fg06.c b/drivers/video/backlight/ams369fg06.c
index 3729238e7096..f57e1905236a 100644
--- a/drivers/video/backlight/ams369fg06.c
+++ b/drivers/video/backlight/ams369fg06.c
@@ -474,7 +474,7 @@ static const struct backlight_ops ams369fg06_backlight_ops = {
474 .update_status = ams369fg06_set_brightness, 474 .update_status = ams369fg06_set_brightness,
475}; 475};
476 476
477static int __devinit ams369fg06_probe(struct spi_device *spi) 477static int ams369fg06_probe(struct spi_device *spi)
478{ 478{
479 int ret = 0; 479 int ret = 0;
480 struct ams369fg06 *lcd = NULL; 480 struct ams369fg06 *lcd = NULL;
@@ -548,7 +548,7 @@ out_lcd_unregister:
548 return ret; 548 return ret;
549} 549}
550 550
551static int __devexit ams369fg06_remove(struct spi_device *spi) 551static int ams369fg06_remove(struct spi_device *spi)
552{ 552{
553 struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev); 553 struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev);
554 554
@@ -617,7 +617,7 @@ static struct spi_driver ams369fg06_driver = {
617 .owner = THIS_MODULE, 617 .owner = THIS_MODULE,
618 }, 618 },
619 .probe = ams369fg06_probe, 619 .probe = ams369fg06_probe,
620 .remove = __devexit_p(ams369fg06_remove), 620 .remove = ams369fg06_remove,
621 .shutdown = ams369fg06_shutdown, 621 .shutdown = ams369fg06_shutdown,
622 .suspend = ams369fg06_suspend, 622 .suspend = ams369fg06_suspend,
623 .resume = ams369fg06_resume, 623 .resume = ams369fg06_resume,
diff --git a/drivers/video/backlight/apple_bl.c b/drivers/video/backlight/apple_bl.c
index 9dc73ac3709a..f088d4c07381 100644
--- a/drivers/video/backlight/apple_bl.c
+++ b/drivers/video/backlight/apple_bl.c
@@ -137,7 +137,7 @@ static const struct hw_data nvidia_chipset_data = {
137 .set_brightness = nvidia_chipset_set_brightness, 137 .set_brightness = nvidia_chipset_set_brightness,
138}; 138};
139 139
140static int __devinit apple_bl_add(struct acpi_device *dev) 140static int apple_bl_add(struct acpi_device *dev)
141{ 141{
142 struct backlight_properties props; 142 struct backlight_properties props;
143 struct pci_dev *host; 143 struct pci_dev *host;
@@ -196,7 +196,7 @@ static int __devinit apple_bl_add(struct acpi_device *dev)
196 return 0; 196 return 0;
197} 197}
198 198
199static int __devexit apple_bl_remove(struct acpi_device *dev, int type) 199static int apple_bl_remove(struct acpi_device *dev, int type)
200{ 200{
201 backlight_device_unregister(apple_backlight_device); 201 backlight_device_unregister(apple_backlight_device);
202 202
diff --git a/drivers/video/backlight/corgi_lcd.c b/drivers/video/backlight/corgi_lcd.c
index c781768ba892..eaaebf21993e 100644
--- a/drivers/video/backlight/corgi_lcd.c
+++ b/drivers/video/backlight/corgi_lcd.c
@@ -529,7 +529,7 @@ static int setup_gpio_backlight(struct corgi_lcd *lcd,
529 return 0; 529 return 0;
530} 530}
531 531
532static int __devinit corgi_lcd_probe(struct spi_device *spi) 532static int corgi_lcd_probe(struct spi_device *spi)
533{ 533{
534 struct backlight_properties props; 534 struct backlight_properties props;
535 struct corgi_lcd_platform_data *pdata = spi->dev.platform_data; 535 struct corgi_lcd_platform_data *pdata = spi->dev.platform_data;
@@ -590,7 +590,7 @@ err_unregister_lcd:
590 return ret; 590 return ret;
591} 591}
592 592
593static int __devexit corgi_lcd_remove(struct spi_device *spi) 593static int corgi_lcd_remove(struct spi_device *spi)
594{ 594{
595 struct corgi_lcd *lcd = dev_get_drvdata(&spi->dev); 595 struct corgi_lcd *lcd = dev_get_drvdata(&spi->dev);
596 596
@@ -611,7 +611,7 @@ static struct spi_driver corgi_lcd_driver = {
611 .owner = THIS_MODULE, 611 .owner = THIS_MODULE,
612 }, 612 },
613 .probe = corgi_lcd_probe, 613 .probe = corgi_lcd_probe,
614 .remove = __devexit_p(corgi_lcd_remove), 614 .remove = corgi_lcd_remove,
615 .suspend = corgi_lcd_suspend, 615 .suspend = corgi_lcd_suspend,
616 .resume = corgi_lcd_resume, 616 .resume = corgi_lcd_resume,
617}; 617};
diff --git a/drivers/video/backlight/ep93xx_bl.c b/drivers/video/backlight/ep93xx_bl.c
index 08214e1f0958..ef3e21e8f825 100644
--- a/drivers/video/backlight/ep93xx_bl.c
+++ b/drivers/video/backlight/ep93xx_bl.c
@@ -141,7 +141,7 @@ static struct platform_driver ep93xxbl_driver = {
141 .owner = THIS_MODULE, 141 .owner = THIS_MODULE,
142 }, 142 },
143 .probe = ep93xxbl_probe, 143 .probe = ep93xxbl_probe,
144 .remove = __devexit_p(ep93xxbl_remove), 144 .remove = ep93xxbl_remove,
145 .suspend = ep93xxbl_suspend, 145 .suspend = ep93xxbl_suspend,
146 .resume = ep93xxbl_resume, 146 .resume = ep93xxbl_resume,
147}; 147};
diff --git a/drivers/video/backlight/hp680_bl.c b/drivers/video/backlight/hp680_bl.c
index 38aa00272141..c99966342448 100644
--- a/drivers/video/backlight/hp680_bl.c
+++ b/drivers/video/backlight/hp680_bl.c
@@ -103,7 +103,7 @@ static const struct backlight_ops hp680bl_ops = {
103 .update_status = hp680bl_set_intensity, 103 .update_status = hp680bl_set_intensity,
104}; 104};
105 105
106static int __devinit hp680bl_probe(struct platform_device *pdev) 106static int hp680bl_probe(struct platform_device *pdev)
107{ 107{
108 struct backlight_properties props; 108 struct backlight_properties props;
109 struct backlight_device *bd; 109 struct backlight_device *bd;
diff --git a/drivers/video/backlight/ili9320.c b/drivers/video/backlight/ili9320.c
index 9327cd1b3143..66cc313185ad 100644
--- a/drivers/video/backlight/ili9320.c
+++ b/drivers/video/backlight/ili9320.c
@@ -171,7 +171,7 @@ static struct lcd_ops ili9320_ops = {
171 .set_power = ili9320_set_power, 171 .set_power = ili9320_set_power,
172}; 172};
173 173
174static void __devinit ili9320_setup_spi(struct ili9320 *ili, 174static void ili9320_setup_spi(struct ili9320 *ili,
175 struct spi_device *dev) 175 struct spi_device *dev)
176{ 176{
177 struct ili9320_spi *spi = &ili->access.spi; 177 struct ili9320_spi *spi = &ili->access.spi;
@@ -197,7 +197,7 @@ static void __devinit ili9320_setup_spi(struct ili9320 *ili,
197 spi_message_add_tail(&spi->xfer[1], &spi->message); 197 spi_message_add_tail(&spi->xfer[1], &spi->message);
198} 198}
199 199
200int __devinit ili9320_probe_spi(struct spi_device *spi, 200int ili9320_probe_spi(struct spi_device *spi,
201 struct ili9320_client *client) 201 struct ili9320_client *client)
202{ 202{
203 struct ili9320_platdata *cfg = spi->dev.platform_data; 203 struct ili9320_platdata *cfg = spi->dev.platform_data;
diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/video/backlight/l4f00242t03.c
index 2d90c0648aa0..f5aa0a5961d6 100644
--- a/drivers/video/backlight/l4f00242t03.c
+++ b/drivers/video/backlight/l4f00242t03.c
@@ -150,7 +150,7 @@ static struct lcd_ops l4f_ops = {
150 .get_power = l4f00242t03_lcd_power_get, 150 .get_power = l4f00242t03_lcd_power_get,
151}; 151};
152 152
153static int __devinit l4f00242t03_probe(struct spi_device *spi) 153static int l4f00242t03_probe(struct spi_device *spi)
154{ 154{
155 struct l4f00242t03_priv *priv; 155 struct l4f00242t03_priv *priv;
156 struct l4f00242t03_pdata *pdata = spi->dev.platform_data; 156 struct l4f00242t03_pdata *pdata = spi->dev.platform_data;
@@ -230,7 +230,7 @@ err1:
230 return ret; 230 return ret;
231} 231}
232 232
233static int __devexit l4f00242t03_remove(struct spi_device *spi) 233static int l4f00242t03_remove(struct spi_device *spi)
234{ 234{
235 struct l4f00242t03_priv *priv = dev_get_drvdata(&spi->dev); 235 struct l4f00242t03_priv *priv = dev_get_drvdata(&spi->dev);
236 236
@@ -260,7 +260,7 @@ static struct spi_driver l4f00242t03_driver = {
260 .owner = THIS_MODULE, 260 .owner = THIS_MODULE,
261 }, 261 },
262 .probe = l4f00242t03_probe, 262 .probe = l4f00242t03_probe,
263 .remove = __devexit_p(l4f00242t03_remove), 263 .remove = l4f00242t03_remove,
264 .shutdown = l4f00242t03_shutdown, 264 .shutdown = l4f00242t03_shutdown,
265}; 265};
266 266
diff --git a/drivers/video/backlight/ld9040.c b/drivers/video/backlight/ld9040.c
index 58f517fb7d40..1cb352418513 100644
--- a/drivers/video/backlight/ld9040.c
+++ b/drivers/video/backlight/ld9040.c
@@ -788,7 +788,7 @@ out_free_regulator:
788 return ret; 788 return ret;
789} 789}
790 790
791static int __devexit ld9040_remove(struct spi_device *spi) 791static int ld9040_remove(struct spi_device *spi)
792{ 792{
793 struct ld9040 *lcd = dev_get_drvdata(&spi->dev); 793 struct ld9040 *lcd = dev_get_drvdata(&spi->dev);
794 794
@@ -847,7 +847,7 @@ static struct spi_driver ld9040_driver = {
847 .owner = THIS_MODULE, 847 .owner = THIS_MODULE,
848 }, 848 },
849 .probe = ld9040_probe, 849 .probe = ld9040_probe,
850 .remove = __devexit_p(ld9040_remove), 850 .remove = ld9040_remove,
851 .shutdown = ld9040_shutdown, 851 .shutdown = ld9040_shutdown,
852 .suspend = ld9040_suspend, 852 .suspend = ld9040_suspend,
853 .resume = ld9040_resume, 853 .resume = ld9040_resume,
diff --git a/drivers/video/backlight/lm3533_bl.c b/drivers/video/backlight/lm3533_bl.c
index 18dca0c29c68..5d18d4d7f470 100644
--- a/drivers/video/backlight/lm3533_bl.c
+++ b/drivers/video/backlight/lm3533_bl.c
@@ -257,7 +257,7 @@ static struct attribute_group lm3533_bl_attribute_group = {
257 .attrs = lm3533_bl_attributes 257 .attrs = lm3533_bl_attributes
258}; 258};
259 259
260static int __devinit lm3533_bl_setup(struct lm3533_bl *bl, 260static int lm3533_bl_setup(struct lm3533_bl *bl,
261 struct lm3533_bl_platform_data *pdata) 261 struct lm3533_bl_platform_data *pdata)
262{ 262{
263 int ret; 263 int ret;
@@ -269,7 +269,7 @@ static int __devinit lm3533_bl_setup(struct lm3533_bl *bl,
269 return lm3533_ctrlbank_set_pwm(&bl->cb, pdata->pwm); 269 return lm3533_ctrlbank_set_pwm(&bl->cb, pdata->pwm);
270} 270}
271 271
272static int __devinit lm3533_bl_probe(struct platform_device *pdev) 272static int lm3533_bl_probe(struct platform_device *pdev)
273{ 273{
274 struct lm3533 *lm3533; 274 struct lm3533 *lm3533;
275 struct lm3533_bl_platform_data *pdata; 275 struct lm3533_bl_platform_data *pdata;
@@ -351,7 +351,7 @@ err_unregister:
351 return ret; 351 return ret;
352} 352}
353 353
354static int __devexit lm3533_bl_remove(struct platform_device *pdev) 354static int lm3533_bl_remove(struct platform_device *pdev)
355{ 355{
356 struct lm3533_bl *bl = platform_get_drvdata(pdev); 356 struct lm3533_bl *bl = platform_get_drvdata(pdev);
357 struct backlight_device *bd = bl->bd; 357 struct backlight_device *bd = bl->bd;
@@ -406,7 +406,7 @@ static struct platform_driver lm3533_bl_driver = {
406 .owner = THIS_MODULE, 406 .owner = THIS_MODULE,
407 }, 407 },
408 .probe = lm3533_bl_probe, 408 .probe = lm3533_bl_probe,
409 .remove = __devexit_p(lm3533_bl_remove), 409 .remove = lm3533_bl_remove,
410 .shutdown = lm3533_bl_shutdown, 410 .shutdown = lm3533_bl_shutdown,
411 .suspend = lm3533_bl_suspend, 411 .suspend = lm3533_bl_suspend,
412 .resume = lm3533_bl_resume, 412 .resume = lm3533_bl_resume,
diff --git a/drivers/video/backlight/lm3630_bl.c b/drivers/video/backlight/lm3630_bl.c
index dc191441796f..0207bc0a4407 100644
--- a/drivers/video/backlight/lm3630_bl.c
+++ b/drivers/video/backlight/lm3630_bl.c
@@ -55,7 +55,7 @@ struct lm3630_chip_data {
55}; 55};
56 56
57/* initialize chip */ 57/* initialize chip */
58static int __devinit lm3630_chip_init(struct lm3630_chip_data *pchip) 58static int lm3630_chip_init(struct lm3630_chip_data *pchip)
59{ 59{
60 int ret; 60 int ret;
61 unsigned int reg_val; 61 unsigned int reg_val;
@@ -349,7 +349,7 @@ static const struct regmap_config lm3630_regmap = {
349 .max_register = REG_MAX, 349 .max_register = REG_MAX,
350}; 350};
351 351
352static int __devinit lm3630_probe(struct i2c_client *client, 352static int lm3630_probe(struct i2c_client *client,
353 const struct i2c_device_id *id) 353 const struct i2c_device_id *id)
354{ 354{
355 struct lm3630_platform_data *pdata = client->dev.platform_data; 355 struct lm3630_platform_data *pdata = client->dev.platform_data;
@@ -429,7 +429,7 @@ err_chip_init:
429 return ret; 429 return ret;
430} 430}
431 431
432static int __devexit lm3630_remove(struct i2c_client *client) 432static int lm3630_remove(struct i2c_client *client)
433{ 433{
434 int ret; 434 int ret;
435 struct lm3630_chip_data *pchip = i2c_get_clientdata(client); 435 struct lm3630_chip_data *pchip = i2c_get_clientdata(client);
@@ -463,7 +463,7 @@ static struct i2c_driver lm3630_i2c_driver = {
463 .name = LM3630_NAME, 463 .name = LM3630_NAME,
464 }, 464 },
465 .probe = lm3630_probe, 465 .probe = lm3630_probe,
466 .remove = __devexit_p(lm3630_remove), 466 .remove = lm3630_remove,
467 .id_table = lm3630_id, 467 .id_table = lm3630_id,
468}; 468};
469 469
diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c
index 585949b57055..b0e1e8ba4d9f 100644
--- a/drivers/video/backlight/lm3639_bl.c
+++ b/drivers/video/backlight/lm3639_bl.c
@@ -48,7 +48,7 @@ struct lm3639_chip_data {
48}; 48};
49 49
50/* initialize chip */ 50/* initialize chip */
51static int __devinit lm3639_chip_init(struct lm3639_chip_data *pchip) 51static int lm3639_chip_init(struct lm3639_chip_data *pchip)
52{ 52{
53 int ret; 53 int ret;
54 unsigned int reg_val; 54 unsigned int reg_val;
@@ -299,7 +299,7 @@ static const struct regmap_config lm3639_regmap = {
299 .max_register = REG_MAX, 299 .max_register = REG_MAX,
300}; 300};
301 301
302static int __devinit lm3639_probe(struct i2c_client *client, 302static int lm3639_probe(struct i2c_client *client,
303 const struct i2c_device_id *id) 303 const struct i2c_device_id *id)
304{ 304{
305 int ret; 305 int ret;
@@ -397,7 +397,7 @@ err_out:
397 return ret; 397 return ret;
398} 398}
399 399
400static int __devexit lm3639_remove(struct i2c_client *client) 400static int lm3639_remove(struct i2c_client *client)
401{ 401{
402 struct lm3639_chip_data *pchip = i2c_get_clientdata(client); 402 struct lm3639_chip_data *pchip = i2c_get_clientdata(client);
403 403
@@ -425,7 +425,7 @@ static struct i2c_driver lm3639_i2c_driver = {
425 .name = LM3639_NAME, 425 .name = LM3639_NAME,
426 }, 426 },
427 .probe = lm3639_probe, 427 .probe = lm3639_probe,
428 .remove = __devexit_p(lm3639_remove), 428 .remove = lm3639_remove,
429 .id_table = lm3639_id, 429 .id_table = lm3639_id,
430}; 430};
431 431
diff --git a/drivers/video/backlight/lms283gf05.c b/drivers/video/backlight/lms283gf05.c
index ea43f2254196..b29c7071c9db 100644
--- a/drivers/video/backlight/lms283gf05.c
+++ b/drivers/video/backlight/lms283gf05.c
@@ -150,7 +150,7 @@ static struct lcd_ops lms_ops = {
150 .get_power = NULL, 150 .get_power = NULL,
151}; 151};
152 152
153static int __devinit lms283gf05_probe(struct spi_device *spi) 153static int lms283gf05_probe(struct spi_device *spi)
154{ 154{
155 struct lms283gf05_state *st; 155 struct lms283gf05_state *st;
156 struct lms283gf05_pdata *pdata = spi->dev.platform_data; 156 struct lms283gf05_pdata *pdata = spi->dev.platform_data;
@@ -193,7 +193,7 @@ static int __devinit lms283gf05_probe(struct spi_device *spi)
193 return 0; 193 return 0;
194} 194}
195 195
196static int __devexit lms283gf05_remove(struct spi_device *spi) 196static int lms283gf05_remove(struct spi_device *spi)
197{ 197{
198 struct lms283gf05_state *st = dev_get_drvdata(&spi->dev); 198 struct lms283gf05_state *st = dev_get_drvdata(&spi->dev);
199 199
@@ -208,7 +208,7 @@ static struct spi_driver lms283gf05_driver = {
208 .owner = THIS_MODULE, 208 .owner = THIS_MODULE,
209 }, 209 },
210 .probe = lms283gf05_probe, 210 .probe = lms283gf05_probe,
211 .remove = __devexit_p(lms283gf05_remove), 211 .remove = lms283gf05_remove,
212}; 212};
213 213
214module_spi_driver(lms283gf05_driver); 214module_spi_driver(lms283gf05_driver);
diff --git a/drivers/video/backlight/lp855x_bl.c b/drivers/video/backlight/lp855x_bl.c
index aa6d4f71131f..fd985e0681e9 100644
--- a/drivers/video/backlight/lp855x_bl.c
+++ b/drivers/video/backlight/lp855x_bl.c
@@ -297,7 +297,7 @@ err_dev:
297 return ret; 297 return ret;
298} 298}
299 299
300static int __devexit lp855x_remove(struct i2c_client *cl) 300static int lp855x_remove(struct i2c_client *cl)
301{ 301{
302 struct lp855x *lp = i2c_get_clientdata(cl); 302 struct lp855x *lp = i2c_get_clientdata(cl);
303 303
@@ -324,7 +324,7 @@ static struct i2c_driver lp855x_driver = {
324 .name = "lp855x", 324 .name = "lp855x",
325 }, 325 },
326 .probe = lp855x_probe, 326 .probe = lp855x_probe,
327 .remove = __devexit_p(lp855x_remove), 327 .remove = lp855x_remove,
328 .id_table = lp855x_ids, 328 .id_table = lp855x_ids,
329}; 329};
330 330
diff --git a/drivers/video/backlight/ltv350qv.c b/drivers/video/backlight/ltv350qv.c
index 4066a5bbd826..226d813edf01 100644
--- a/drivers/video/backlight/ltv350qv.c
+++ b/drivers/video/backlight/ltv350qv.c
@@ -226,7 +226,7 @@ static struct lcd_ops ltv_ops = {
226 .set_power = ltv350qv_set_power, 226 .set_power = ltv350qv_set_power,
227}; 227};
228 228
229static int __devinit ltv350qv_probe(struct spi_device *spi) 229static int ltv350qv_probe(struct spi_device *spi)
230{ 230{
231 struct ltv350qv *lcd; 231 struct ltv350qv *lcd;
232 struct lcd_device *ld; 232 struct lcd_device *ld;
@@ -261,7 +261,7 @@ out_unregister:
261 return ret; 261 return ret;
262} 262}
263 263
264static int __devexit ltv350qv_remove(struct spi_device *spi) 264static int ltv350qv_remove(struct spi_device *spi)
265{ 265{
266 struct ltv350qv *lcd = dev_get_drvdata(&spi->dev); 266 struct ltv350qv *lcd = dev_get_drvdata(&spi->dev);
267 267
@@ -305,7 +305,7 @@ static struct spi_driver ltv350qv_driver = {
305 }, 305 },
306 306
307 .probe = ltv350qv_probe, 307 .probe = ltv350qv_probe,
308 .remove = __devexit_p(ltv350qv_remove), 308 .remove = ltv350qv_remove,
309 .shutdown = ltv350qv_shutdown, 309 .shutdown = ltv350qv_shutdown,
310 .suspend = ltv350qv_suspend, 310 .suspend = ltv350qv_suspend,
311 .resume = ltv350qv_resume, 311 .resume = ltv350qv_resume,
diff --git a/drivers/video/backlight/max8925_bl.c b/drivers/video/backlight/max8925_bl.c
index f72ba54f364e..c6bec7aab87b 100644
--- a/drivers/video/backlight/max8925_bl.c
+++ b/drivers/video/backlight/max8925_bl.c
@@ -101,7 +101,7 @@ static const struct backlight_ops max8925_backlight_ops = {
101 .get_brightness = max8925_backlight_get_brightness, 101 .get_brightness = max8925_backlight_get_brightness,
102}; 102};
103 103
104static int __devinit max8925_backlight_probe(struct platform_device *pdev) 104static int max8925_backlight_probe(struct platform_device *pdev)
105{ 105{
106 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent); 106 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent);
107 struct max8925_backlight_pdata *pdata = pdev->dev.platform_data; 107 struct max8925_backlight_pdata *pdata = pdev->dev.platform_data;
@@ -171,7 +171,7 @@ out:
171 return ret; 171 return ret;
172} 172}
173 173
174static int __devexit max8925_backlight_remove(struct platform_device *pdev) 174static int max8925_backlight_remove(struct platform_device *pdev)
175{ 175{
176 struct backlight_device *bl = platform_get_drvdata(pdev); 176 struct backlight_device *bl = platform_get_drvdata(pdev);
177 177
@@ -185,7 +185,7 @@ static struct platform_driver max8925_backlight_driver = {
185 .owner = THIS_MODULE, 185 .owner = THIS_MODULE,
186 }, 186 },
187 .probe = max8925_backlight_probe, 187 .probe = max8925_backlight_probe,
188 .remove = __devexit_p(max8925_backlight_remove), 188 .remove = max8925_backlight_remove,
189}; 189};
190 190
191module_platform_driver(max8925_backlight_driver); 191module_platform_driver(max8925_backlight_driver);
diff --git a/drivers/video/backlight/pcf50633-backlight.c b/drivers/video/backlight/pcf50633-backlight.c
index c092159f4383..0087396007e4 100644
--- a/drivers/video/backlight/pcf50633-backlight.c
+++ b/drivers/video/backlight/pcf50633-backlight.c
@@ -99,7 +99,7 @@ static const struct backlight_ops pcf50633_bl_ops = {
99 .options = BL_CORE_SUSPENDRESUME, 99 .options = BL_CORE_SUSPENDRESUME,
100}; 100};
101 101
102static int __devinit pcf50633_bl_probe(struct platform_device *pdev) 102static int pcf50633_bl_probe(struct platform_device *pdev)
103{ 103{
104 struct pcf50633_bl *pcf_bl; 104 struct pcf50633_bl *pcf_bl;
105 struct device *parent = pdev->dev.parent; 105 struct device *parent = pdev->dev.parent;
@@ -145,7 +145,7 @@ static int __devinit pcf50633_bl_probe(struct platform_device *pdev)
145 return 0; 145 return 0;
146} 146}
147 147
148static int __devexit pcf50633_bl_remove(struct platform_device *pdev) 148static int pcf50633_bl_remove(struct platform_device *pdev)
149{ 149{
150 struct pcf50633_bl *pcf_bl = platform_get_drvdata(pdev); 150 struct pcf50633_bl *pcf_bl = platform_get_drvdata(pdev);
151 151
@@ -158,7 +158,7 @@ static int __devexit pcf50633_bl_remove(struct platform_device *pdev)
158 158
159static struct platform_driver pcf50633_bl_driver = { 159static struct platform_driver pcf50633_bl_driver = {
160 .probe = pcf50633_bl_probe, 160 .probe = pcf50633_bl_probe,
161 .remove = __devexit_p(pcf50633_bl_remove), 161 .remove = pcf50633_bl_remove,
162 .driver = { 162 .driver = {
163 .name = "pcf50633-backlight", 163 .name = "pcf50633-backlight",
164 }, 164 },
diff --git a/drivers/video/backlight/platform_lcd.c b/drivers/video/backlight/platform_lcd.c
index ca4f5d70fe10..894bfc5ce422 100644
--- a/drivers/video/backlight/platform_lcd.c
+++ b/drivers/video/backlight/platform_lcd.c
@@ -73,7 +73,7 @@ static struct lcd_ops platform_lcd_ops = {
73 .check_fb = platform_lcd_match, 73 .check_fb = platform_lcd_match,
74}; 74};
75 75
76static int __devinit platform_lcd_probe(struct platform_device *pdev) 76static int platform_lcd_probe(struct platform_device *pdev)
77{ 77{
78 struct plat_lcd_data *pdata; 78 struct plat_lcd_data *pdata;
79 struct platform_lcd *plcd; 79 struct platform_lcd *plcd;
@@ -112,7 +112,7 @@ static int __devinit platform_lcd_probe(struct platform_device *pdev)
112 return err; 112 return err;
113} 113}
114 114
115static int __devexit platform_lcd_remove(struct platform_device *pdev) 115static int platform_lcd_remove(struct platform_device *pdev)
116{ 116{
117 struct platform_lcd *plcd = platform_get_drvdata(pdev); 117 struct platform_lcd *plcd = platform_get_drvdata(pdev);
118 118
@@ -164,7 +164,7 @@ static struct platform_driver platform_lcd_driver = {
164 .of_match_table = of_match_ptr(platform_lcd_of_match), 164 .of_match_table = of_match_ptr(platform_lcd_of_match),
165 }, 165 },
166 .probe = platform_lcd_probe, 166 .probe = platform_lcd_probe,
167 .remove = __devexit_p(platform_lcd_remove), 167 .remove = platform_lcd_remove,
168}; 168};
169 169
170module_platform_driver(platform_lcd_driver); 170module_platform_driver(platform_lcd_driver);
diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c
index 6437ae474cf2..484e10dd1a8e 100644
--- a/drivers/video/backlight/s6e63m0.c
+++ b/drivers/video/backlight/s6e63m0.c
@@ -733,7 +733,7 @@ static ssize_t s6e63m0_sysfs_show_gamma_table(struct device *dev,
733static DEVICE_ATTR(gamma_table, 0444, 733static DEVICE_ATTR(gamma_table, 0444,
734 s6e63m0_sysfs_show_gamma_table, NULL); 734 s6e63m0_sysfs_show_gamma_table, NULL);
735 735
736static int __devinit s6e63m0_probe(struct spi_device *spi) 736static int s6e63m0_probe(struct spi_device *spi)
737{ 737{
738 int ret = 0; 738 int ret = 0;
739 struct s6e63m0 *lcd = NULL; 739 struct s6e63m0 *lcd = NULL;
@@ -825,7 +825,7 @@ out_lcd_unregister:
825 return ret; 825 return ret;
826} 826}
827 827
828static int __devexit s6e63m0_remove(struct spi_device *spi) 828static int s6e63m0_remove(struct spi_device *spi)
829{ 829{
830 struct s6e63m0 *lcd = dev_get_drvdata(&spi->dev); 830 struct s6e63m0 *lcd = dev_get_drvdata(&spi->dev);
831 831
@@ -897,7 +897,7 @@ static struct spi_driver s6e63m0_driver = {
897 .owner = THIS_MODULE, 897 .owner = THIS_MODULE,
898 }, 898 },
899 .probe = s6e63m0_probe, 899 .probe = s6e63m0_probe,
900 .remove = __devexit_p(s6e63m0_remove), 900 .remove = s6e63m0_remove,
901 .shutdown = s6e63m0_shutdown, 901 .shutdown = s6e63m0_shutdown,
902 .suspend = s6e63m0_suspend, 902 .suspend = s6e63m0_suspend,
903 .resume = s6e63m0_resume, 903 .resume = s6e63m0_resume,
diff --git a/drivers/video/backlight/tdo24m.c b/drivers/video/backlight/tdo24m.c
index 02444d042cd5..146ffb9404d1 100644
--- a/drivers/video/backlight/tdo24m.c
+++ b/drivers/video/backlight/tdo24m.c
@@ -328,7 +328,7 @@ static struct lcd_ops tdo24m_ops = {
328 .set_mode = tdo24m_set_mode, 328 .set_mode = tdo24m_set_mode,
329}; 329};
330 330
331static int __devinit tdo24m_probe(struct spi_device *spi) 331static int tdo24m_probe(struct spi_device *spi)
332{ 332{
333 struct tdo24m *lcd; 333 struct tdo24m *lcd;
334 struct spi_message *m; 334 struct spi_message *m;
@@ -401,7 +401,7 @@ out_unregister:
401 return err; 401 return err;
402} 402}
403 403
404static int __devexit tdo24m_remove(struct spi_device *spi) 404static int tdo24m_remove(struct spi_device *spi)
405{ 405{
406 struct tdo24m *lcd = dev_get_drvdata(&spi->dev); 406 struct tdo24m *lcd = dev_get_drvdata(&spi->dev);
407 407
@@ -444,7 +444,7 @@ static struct spi_driver tdo24m_driver = {
444 .owner = THIS_MODULE, 444 .owner = THIS_MODULE,
445 }, 445 },
446 .probe = tdo24m_probe, 446 .probe = tdo24m_probe,
447 .remove = __devexit_p(tdo24m_remove), 447 .remove = tdo24m_remove,
448 .shutdown = tdo24m_shutdown, 448 .shutdown = tdo24m_shutdown,
449 .suspend = tdo24m_suspend, 449 .suspend = tdo24m_suspend,
450 .resume = tdo24m_resume, 450 .resume = tdo24m_resume,
diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
index 49342e1d20be..a0521abdcd8a 100644
--- a/drivers/video/backlight/tosa_bl.c
+++ b/drivers/video/backlight/tosa_bl.c
@@ -78,7 +78,7 @@ static const struct backlight_ops bl_ops = {
78 .update_status = tosa_bl_update_status, 78 .update_status = tosa_bl_update_status,
79}; 79};
80 80
81static int __devinit tosa_bl_probe(struct i2c_client *client, 81static int tosa_bl_probe(struct i2c_client *client,
82 const struct i2c_device_id *id) 82 const struct i2c_device_id *id)
83{ 83{
84 struct backlight_properties props; 84 struct backlight_properties props;
@@ -126,7 +126,7 @@ err_reg:
126 return ret; 126 return ret;
127} 127}
128 128
129static int __devexit tosa_bl_remove(struct i2c_client *client) 129static int tosa_bl_remove(struct i2c_client *client)
130{ 130{
131 struct tosa_bl_data *data = i2c_get_clientdata(client); 131 struct tosa_bl_data *data = i2c_get_clientdata(client);
132 132
@@ -170,7 +170,7 @@ static struct i2c_driver tosa_bl_driver = {
170 .owner = THIS_MODULE, 170 .owner = THIS_MODULE,
171 }, 171 },
172 .probe = tosa_bl_probe, 172 .probe = tosa_bl_probe,
173 .remove = __devexit_p(tosa_bl_remove), 173 .remove = tosa_bl_remove,
174 .suspend = tosa_bl_suspend, 174 .suspend = tosa_bl_suspend,
175 .resume = tosa_bl_resume, 175 .resume = tosa_bl_resume,
176 .id_table = tosa_bl_id, 176 .id_table = tosa_bl_id,
diff --git a/drivers/video/backlight/tosa_lcd.c b/drivers/video/backlight/tosa_lcd.c
index 33047a66cc24..86fff88c2e4a 100644
--- a/drivers/video/backlight/tosa_lcd.c
+++ b/drivers/video/backlight/tosa_lcd.c
@@ -169,7 +169,7 @@ static struct lcd_ops tosa_lcd_ops = {
169 .set_mode = tosa_lcd_set_mode, 169 .set_mode = tosa_lcd_set_mode,
170}; 170};
171 171
172static int __devinit tosa_lcd_probe(struct spi_device *spi) 172static int tosa_lcd_probe(struct spi_device *spi)
173{ 173{
174 int ret; 174 int ret;
175 struct tosa_lcd_data *data; 175 struct tosa_lcd_data *data;
@@ -226,7 +226,7 @@ err_gpio_tg:
226 return ret; 226 return ret;
227} 227}
228 228
229static int __devexit tosa_lcd_remove(struct spi_device *spi) 229static int tosa_lcd_remove(struct spi_device *spi)
230{ 230{
231 struct tosa_lcd_data *data = dev_get_drvdata(&spi->dev); 231 struct tosa_lcd_data *data = dev_get_drvdata(&spi->dev);
232 232
@@ -275,7 +275,7 @@ static struct spi_driver tosa_lcd_driver = {
275 .owner = THIS_MODULE, 275 .owner = THIS_MODULE,
276 }, 276 },
277 .probe = tosa_lcd_probe, 277 .probe = tosa_lcd_probe,
278 .remove = __devexit_p(tosa_lcd_remove), 278 .remove = tosa_lcd_remove,
279 .suspend = tosa_lcd_suspend, 279 .suspend = tosa_lcd_suspend,
280 .resume = tosa_lcd_resume, 280 .resume = tosa_lcd_resume,
281}; 281};
diff --git a/drivers/video/backlight/vgg2432a4.c b/drivers/video/backlight/vgg2432a4.c
index b617fae9aa26..712b0acfd339 100644
--- a/drivers/video/backlight/vgg2432a4.c
+++ b/drivers/video/backlight/vgg2432a4.c
@@ -227,7 +227,7 @@ static struct ili9320_client vgg2432a4_client = {
227 227
228/* Device probe */ 228/* Device probe */
229 229
230static int __devinit vgg2432a4_probe(struct spi_device *spi) 230static int vgg2432a4_probe(struct spi_device *spi)
231{ 231{
232 int ret; 232 int ret;
233 233
@@ -240,7 +240,7 @@ static int __devinit vgg2432a4_probe(struct spi_device *spi)
240 return 0; 240 return 0;
241} 241}
242 242
243static int __devexit vgg2432a4_remove(struct spi_device *spi) 243static int vgg2432a4_remove(struct spi_device *spi)
244{ 244{
245 return ili9320_remove(dev_get_drvdata(&spi->dev)); 245 return ili9320_remove(dev_get_drvdata(&spi->dev));
246} 246}
@@ -256,7 +256,7 @@ static struct spi_driver vgg2432a4_driver = {
256 .owner = THIS_MODULE, 256 .owner = THIS_MODULE,
257 }, 257 },
258 .probe = vgg2432a4_probe, 258 .probe = vgg2432a4_probe,
259 .remove = __devexit_p(vgg2432a4_remove), 259 .remove = vgg2432a4_remove,
260 .shutdown = vgg2432a4_shutdown, 260 .shutdown = vgg2432a4_shutdown,
261 .suspend = vgg2432a4_suspend, 261 .suspend = vgg2432a4_suspend,
262 .resume = vgg2432a4_resume, 262 .resume = vgg2432a4_resume,