aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/adp5520_bl.c2
-rw-r--r--drivers/video/backlight/adp8860_bl.c6
-rw-r--r--drivers/video/backlight/adp8870_bl.c6
-rw-r--r--drivers/video/backlight/ams369fg06.c2
-rw-r--r--drivers/video/backlight/apple_bl.c2
-rw-r--r--drivers/video/backlight/corgi_lcd.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.c2
-rw-r--r--drivers/video/backlight/lm3533_bl.c4
-rw-r--r--drivers/video/backlight/lm3630_bl.c4
-rw-r--r--drivers/video/backlight/lm3639_bl.c4
-rw-r--r--drivers/video/backlight/lms283gf05.c2
-rw-r--r--drivers/video/backlight/ltv350qv.c2
-rw-r--r--drivers/video/backlight/max8925_bl.c2
-rw-r--r--drivers/video/backlight/pcf50633-backlight.c2
-rw-r--r--drivers/video/backlight/platform_lcd.c2
-rw-r--r--drivers/video/backlight/s6e63m0.c2
-rw-r--r--drivers/video/backlight/tdo24m.c2
-rw-r--r--drivers/video/backlight/tosa_bl.c2
-rw-r--r--drivers/video/backlight/tosa_lcd.c2
-rw-r--r--drivers/video/backlight/vgg2432a4.c2
22 files changed, 30 insertions, 30 deletions
diff --git a/drivers/video/backlight/adp5520_bl.c b/drivers/video/backlight/adp5520_bl.c
index e2a0da342de1..a7eb3c4120c4 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;
diff --git a/drivers/video/backlight/adp8860_bl.c b/drivers/video/backlight/adp8860_bl.c
index 953c5212efef..6feda753ce3e 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;
@@ -310,7 +310,7 @@ 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}
@@ -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;
diff --git a/drivers/video/backlight/adp8870_bl.c b/drivers/video/backlight/adp8870_bl.c
index 558772b91795..0ef93e1910f0 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;
@@ -335,7 +335,7 @@ 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}
@@ -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;
diff --git a/drivers/video/backlight/ams369fg06.c b/drivers/video/backlight/ams369fg06.c
index e48f4b1473ab..fbe43b03f1e2 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;
diff --git a/drivers/video/backlight/apple_bl.c b/drivers/video/backlight/apple_bl.c
index 9dc73ac3709a..5b650be6d0b9 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;
diff --git a/drivers/video/backlight/corgi_lcd.c b/drivers/video/backlight/corgi_lcd.c
index 8617284f87bb..d54224791071 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;
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 157a4c69ef94..2ffcee0cd298 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;
diff --git a/drivers/video/backlight/lm3533_bl.c b/drivers/video/backlight/lm3533_bl.c
index c9a0b5118c8a..029901e95225 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;
diff --git a/drivers/video/backlight/lm3630_bl.c b/drivers/video/backlight/lm3630_bl.c
index d407855fbcc5..cbc58d773b97 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;
diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c
index 1bc53736ceab..de292c11f643 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;
diff --git a/drivers/video/backlight/lms283gf05.c b/drivers/video/backlight/lms283gf05.c
index bfb4f370dcd9..e77fd1c97b5d 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;
diff --git a/drivers/video/backlight/ltv350qv.c b/drivers/video/backlight/ltv350qv.c
index c63ce6e75021..b449bf25fb56 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;
diff --git a/drivers/video/backlight/max8925_bl.c b/drivers/video/backlight/max8925_bl.c
index 3882b2761f78..191c523baf09 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;
diff --git a/drivers/video/backlight/pcf50633-backlight.c b/drivers/video/backlight/pcf50633-backlight.c
index e654b5c4a3bb..db83fba18cb1 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;
diff --git a/drivers/video/backlight/platform_lcd.c b/drivers/video/backlight/platform_lcd.c
index 54e72841982e..8b2992caedf7 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;
diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c
index 1438b993a9ef..11d08bce7c45 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;
diff --git a/drivers/video/backlight/tdo24m.c b/drivers/video/backlight/tdo24m.c
index 076f4f6d3335..b5a30cab71e6 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;
diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
index 8a82cc91a17f..dbcb89a35ccb 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;
diff --git a/drivers/video/backlight/tosa_lcd.c b/drivers/video/backlight/tosa_lcd.c
index bf64092509b8..6858116ab449 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;
diff --git a/drivers/video/backlight/vgg2432a4.c b/drivers/video/backlight/vgg2432a4.c
index f821ab8106fc..db767bed9600 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