diff options
Diffstat (limited to 'drivers/leds')
29 files changed, 29 insertions, 29 deletions
diff --git a/drivers/leds/leds-adp5520.c b/drivers/leds/leds-adp5520.c index 28c97667c079..dcd9128a51a9 100644 --- a/drivers/leds/leds-adp5520.c +++ b/drivers/leds/leds-adp5520.c | |||
@@ -183,7 +183,7 @@ err: | |||
183 | return ret; | 183 | return ret; |
184 | } | 184 | } |
185 | 185 | ||
186 | static int __devexit adp5520_led_remove(struct platform_device *pdev) | 186 | static int adp5520_led_remove(struct platform_device *pdev) |
187 | { | 187 | { |
188 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; | 188 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; |
189 | struct adp5520_led *led; | 189 | struct adp5520_led *led; |
diff --git a/drivers/leds/leds-asic3.c b/drivers/leds/leds-asic3.c index c700ad9053f5..b474745e001b 100644 --- a/drivers/leds/leds-asic3.c +++ b/drivers/leds/leds-asic3.c | |||
@@ -125,7 +125,7 @@ out: | |||
125 | return ret; | 125 | return ret; |
126 | } | 126 | } |
127 | 127 | ||
128 | static int __devexit asic3_led_remove(struct platform_device *pdev) | 128 | static int asic3_led_remove(struct platform_device *pdev) |
129 | { | 129 | { |
130 | struct asic3_led *led = pdev->dev.platform_data; | 130 | struct asic3_led *led = pdev->dev.platform_data; |
131 | 131 | ||
diff --git a/drivers/leds/leds-blinkm.c b/drivers/leds/leds-blinkm.c index 5ed27d318074..a502678cc7f5 100644 --- a/drivers/leds/leds-blinkm.c +++ b/drivers/leds/leds-blinkm.c | |||
@@ -743,7 +743,7 @@ exit: | |||
743 | return err; | 743 | return err; |
744 | } | 744 | } |
745 | 745 | ||
746 | static int __devexit blinkm_remove(struct i2c_client *client) | 746 | static int blinkm_remove(struct i2c_client *client) |
747 | { | 747 | { |
748 | struct blinkm_data *data = i2c_get_clientdata(client); | 748 | struct blinkm_data *data = i2c_get_clientdata(client); |
749 | int ret = 0; | 749 | int ret = 0; |
diff --git a/drivers/leds/leds-cobalt-qube.c b/drivers/leds/leds-cobalt-qube.c index f663979db63d..ffa99303b629 100644 --- a/drivers/leds/leds-cobalt-qube.c +++ b/drivers/leds/leds-cobalt-qube.c | |||
@@ -63,7 +63,7 @@ err_iounmap: | |||
63 | return retval; | 63 | return retval; |
64 | } | 64 | } |
65 | 65 | ||
66 | static int __devexit cobalt_qube_led_remove(struct platform_device *pdev) | 66 | static int cobalt_qube_led_remove(struct platform_device *pdev) |
67 | { | 67 | { |
68 | led_classdev_unregister(&qube_front_led); | 68 | led_classdev_unregister(&qube_front_led); |
69 | 69 | ||
diff --git a/drivers/leds/leds-cobalt-raq.c b/drivers/leds/leds-cobalt-raq.c index 9d88dc2f81a5..d52e47de396f 100644 --- a/drivers/leds/leds-cobalt-raq.c +++ b/drivers/leds/leds-cobalt-raq.c | |||
@@ -109,7 +109,7 @@ err_iounmap: | |||
109 | return retval; | 109 | return retval; |
110 | } | 110 | } |
111 | 111 | ||
112 | static int __devexit cobalt_raq_led_remove(struct platform_device *pdev) | 112 | static int cobalt_raq_led_remove(struct platform_device *pdev) |
113 | { | 113 | { |
114 | led_classdev_unregister(&raq_power_off_led); | 114 | led_classdev_unregister(&raq_power_off_led); |
115 | led_classdev_unregister(&raq_web_led); | 115 | led_classdev_unregister(&raq_web_led); |
diff --git a/drivers/leds/leds-da903x.c b/drivers/leds/leds-da903x.c index bb174905b0fe..6f31b776765b 100644 --- a/drivers/leds/leds-da903x.c +++ b/drivers/leds/leds-da903x.c | |||
@@ -136,7 +136,7 @@ static int da903x_led_probe(struct platform_device *pdev) | |||
136 | return 0; | 136 | return 0; |
137 | } | 137 | } |
138 | 138 | ||
139 | static int __devexit da903x_led_remove(struct platform_device *pdev) | 139 | static int da903x_led_remove(struct platform_device *pdev) |
140 | { | 140 | { |
141 | struct da903x_led *led = platform_get_drvdata(pdev); | 141 | struct da903x_led *led = platform_get_drvdata(pdev); |
142 | 142 | ||
diff --git a/drivers/leds/leds-da9052.c b/drivers/leds/leds-da9052.c index ded9931010a8..efec43344e9f 100644 --- a/drivers/leds/leds-da9052.c +++ b/drivers/leds/leds-da9052.c | |||
@@ -176,7 +176,7 @@ err: | |||
176 | return error; | 176 | return error; |
177 | } | 177 | } |
178 | 178 | ||
179 | static int __devexit da9052_led_remove(struct platform_device *pdev) | 179 | static int da9052_led_remove(struct platform_device *pdev) |
180 | { | 180 | { |
181 | struct da9052_led *led = platform_get_drvdata(pdev); | 181 | struct da9052_led *led = platform_get_drvdata(pdev); |
182 | struct da9052_pdata *pdata; | 182 | struct da9052_pdata *pdata; |
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 5c9efc73f06a..291c20797ca0 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c | |||
@@ -273,7 +273,7 @@ static int gpio_led_probe(struct platform_device *pdev) | |||
273 | return 0; | 273 | return 0; |
274 | } | 274 | } |
275 | 275 | ||
276 | static int __devexit gpio_led_remove(struct platform_device *pdev) | 276 | static int gpio_led_remove(struct platform_device *pdev) |
277 | { | 277 | { |
278 | struct gpio_leds_priv *priv = platform_get_drvdata(pdev); | 278 | struct gpio_leds_priv *priv = platform_get_drvdata(pdev); |
279 | int i; | 279 | int i; |
diff --git a/drivers/leds/leds-lm3530.c b/drivers/leds/leds-lm3530.c index 1aaaaa230c99..214145483836 100644 --- a/drivers/leds/leds-lm3530.c +++ b/drivers/leds/leds-lm3530.c | |||
@@ -452,7 +452,7 @@ err_create_file: | |||
452 | return err; | 452 | return err; |
453 | } | 453 | } |
454 | 454 | ||
455 | static int __devexit lm3530_remove(struct i2c_client *client) | 455 | static int lm3530_remove(struct i2c_client *client) |
456 | { | 456 | { |
457 | struct lm3530_data *drvdata = i2c_get_clientdata(client); | 457 | struct lm3530_data *drvdata = i2c_get_clientdata(client); |
458 | 458 | ||
diff --git a/drivers/leds/leds-lm3533.c b/drivers/leds/leds-lm3533.c index 7a60440c5806..bbf24d038a7f 100644 --- a/drivers/leds/leds-lm3533.c +++ b/drivers/leds/leds-lm3533.c | |||
@@ -742,7 +742,7 @@ err_unregister: | |||
742 | return ret; | 742 | return ret; |
743 | } | 743 | } |
744 | 744 | ||
745 | static int __devexit lm3533_led_remove(struct platform_device *pdev) | 745 | static int lm3533_led_remove(struct platform_device *pdev) |
746 | { | 746 | { |
747 | struct lm3533_led *led = platform_get_drvdata(pdev); | 747 | struct lm3533_led *led = platform_get_drvdata(pdev); |
748 | 748 | ||
diff --git a/drivers/leds/leds-lm355x.c b/drivers/leds/leds-lm355x.c index 0c9d3a083ac2..b13ce0371918 100644 --- a/drivers/leds/leds-lm355x.c +++ b/drivers/leds/leds-lm355x.c | |||
@@ -526,7 +526,7 @@ err_out: | |||
526 | return err; | 526 | return err; |
527 | } | 527 | } |
528 | 528 | ||
529 | static int __devexit lm355x_remove(struct i2c_client *client) | 529 | static int lm355x_remove(struct i2c_client *client) |
530 | { | 530 | { |
531 | struct lm355x_chip_data *chip = i2c_get_clientdata(client); | 531 | struct lm355x_chip_data *chip = i2c_get_clientdata(client); |
532 | struct lm355x_reg_data *preg = chip->regs; | 532 | struct lm355x_reg_data *preg = chip->regs; |
diff --git a/drivers/leds/leds-lm3642.c b/drivers/leds/leds-lm3642.c index 20a45812219b..215a7c1e56cc 100644 --- a/drivers/leds/leds-lm3642.c +++ b/drivers/leds/leds-lm3642.c | |||
@@ -420,7 +420,7 @@ err_out: | |||
420 | return err; | 420 | return err; |
421 | } | 421 | } |
422 | 422 | ||
423 | static int __devexit lm3642_remove(struct i2c_client *client) | 423 | static int lm3642_remove(struct i2c_client *client) |
424 | { | 424 | { |
425 | struct lm3642_chip_data *chip = i2c_get_clientdata(client); | 425 | struct lm3642_chip_data *chip = i2c_get_clientdata(client); |
426 | 426 | ||
diff --git a/drivers/leds/leds-lp3944.c b/drivers/leds/leds-lp3944.c index 1544124bfcc5..b081f67e1dea 100644 --- a/drivers/leds/leds-lp3944.c +++ b/drivers/leds/leds-lp3944.c | |||
@@ -411,7 +411,7 @@ static int lp3944_probe(struct i2c_client *client, | |||
411 | return 0; | 411 | return 0; |
412 | } | 412 | } |
413 | 413 | ||
414 | static int __devexit lp3944_remove(struct i2c_client *client) | 414 | static int lp3944_remove(struct i2c_client *client) |
415 | { | 415 | { |
416 | struct lp3944_platform_data *pdata = client->dev.platform_data; | 416 | struct lp3944_platform_data *pdata = client->dev.platform_data; |
417 | struct lp3944_data *data = i2c_get_clientdata(client); | 417 | struct lp3944_data *data = i2c_get_clientdata(client); |
diff --git a/drivers/leds/leds-lp5521.c b/drivers/leds/leds-lp5521.c index 847434c21f28..966f158a07db 100644 --- a/drivers/leds/leds-lp5521.c +++ b/drivers/leds/leds-lp5521.c | |||
@@ -855,7 +855,7 @@ fail1: | |||
855 | return ret; | 855 | return ret; |
856 | } | 856 | } |
857 | 857 | ||
858 | static int __devexit lp5521_remove(struct i2c_client *client) | 858 | static int lp5521_remove(struct i2c_client *client) |
859 | { | 859 | { |
860 | struct lp5521_chip *chip = i2c_get_clientdata(client); | 860 | struct lp5521_chip *chip = i2c_get_clientdata(client); |
861 | int i; | 861 | int i; |
diff --git a/drivers/leds/leds-lp8788.c b/drivers/leds/leds-lp8788.c index 27831ffe3953..4353942c5fd1 100644 --- a/drivers/leds/leds-lp8788.c +++ b/drivers/leds/leds-lp8788.c | |||
@@ -167,7 +167,7 @@ static int lp8788_led_probe(struct platform_device *pdev) | |||
167 | return 0; | 167 | return 0; |
168 | } | 168 | } |
169 | 169 | ||
170 | static int __devexit lp8788_led_remove(struct platform_device *pdev) | 170 | static int lp8788_led_remove(struct platform_device *pdev) |
171 | { | 171 | { |
172 | struct lp8788_led *led = platform_get_drvdata(pdev); | 172 | struct lp8788_led *led = platform_get_drvdata(pdev); |
173 | 173 | ||
diff --git a/drivers/leds/leds-lt3593.c b/drivers/leds/leds-lt3593.c index 6487293a5e6d..34b3ba4376fc 100644 --- a/drivers/leds/leds-lt3593.c +++ b/drivers/leds/leds-lt3593.c | |||
@@ -173,7 +173,7 @@ err: | |||
173 | return ret; | 173 | return ret; |
174 | } | 174 | } |
175 | 175 | ||
176 | static int __devexit lt3593_led_remove(struct platform_device *pdev) | 176 | static int lt3593_led_remove(struct platform_device *pdev) |
177 | { | 177 | { |
178 | int i; | 178 | int i; |
179 | struct gpio_led_platform_data *pdata = pdev->dev.platform_data; | 179 | struct gpio_led_platform_data *pdata = pdev->dev.platform_data; |
diff --git a/drivers/leds/leds-max8997.c b/drivers/leds/leds-max8997.c index f8db895acaf5..f449a8bdddc7 100644 --- a/drivers/leds/leds-max8997.c +++ b/drivers/leds/leds-max8997.c | |||
@@ -292,7 +292,7 @@ static int max8997_led_probe(struct platform_device *pdev) | |||
292 | return 0; | 292 | return 0; |
293 | } | 293 | } |
294 | 294 | ||
295 | static int __devexit max8997_led_remove(struct platform_device *pdev) | 295 | static int max8997_led_remove(struct platform_device *pdev) |
296 | { | 296 | { |
297 | struct max8997_led *led = platform_get_drvdata(pdev); | 297 | struct max8997_led *led = platform_get_drvdata(pdev); |
298 | 298 | ||
diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c index 39f72a7a1794..e942adaa7504 100644 --- a/drivers/leds/leds-mc13783.c +++ b/drivers/leds/leds-mc13783.c | |||
@@ -348,7 +348,7 @@ err_register: | |||
348 | return ret; | 348 | return ret; |
349 | } | 349 | } |
350 | 350 | ||
351 | static int __devexit mc13783_led_remove(struct platform_device *pdev) | 351 | static int mc13783_led_remove(struct platform_device *pdev) |
352 | { | 352 | { |
353 | struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); | 353 | struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); |
354 | struct mc13783_led *led = platform_get_drvdata(pdev); | 354 | struct mc13783_led *led = platform_get_drvdata(pdev); |
diff --git a/drivers/leds/leds-netxbig.c b/drivers/leds/leds-netxbig.c index 5f2421804a0d..58a800b17dc7 100644 --- a/drivers/leds/leds-netxbig.c +++ b/drivers/leds/leds-netxbig.c | |||
@@ -389,7 +389,7 @@ err_free_leds: | |||
389 | return ret; | 389 | return ret; |
390 | } | 390 | } |
391 | 391 | ||
392 | static int __devexit netxbig_led_remove(struct platform_device *pdev) | 392 | static int netxbig_led_remove(struct platform_device *pdev) |
393 | { | 393 | { |
394 | struct netxbig_led_platform_data *pdata = pdev->dev.platform_data; | 394 | struct netxbig_led_platform_data *pdata = pdev->dev.platform_data; |
395 | struct netxbig_led_data *leds_data; | 395 | struct netxbig_led_data *leds_data; |
diff --git a/drivers/leds/leds-ns2.c b/drivers/leds/leds-ns2.c index f5d0df32ab83..6315e88d04fd 100644 --- a/drivers/leds/leds-ns2.c +++ b/drivers/leds/leds-ns2.c | |||
@@ -292,7 +292,7 @@ static int ns2_led_probe(struct platform_device *pdev) | |||
292 | return 0; | 292 | return 0; |
293 | } | 293 | } |
294 | 294 | ||
295 | static int __devexit ns2_led_remove(struct platform_device *pdev) | 295 | static int ns2_led_remove(struct platform_device *pdev) |
296 | { | 296 | { |
297 | int i; | 297 | int i; |
298 | struct ns2_led_platform_data *pdata = pdev->dev.platform_data; | 298 | struct ns2_led_platform_data *pdata = pdev->dev.platform_data; |
diff --git a/drivers/leds/leds-ot200.c b/drivers/leds/leds-ot200.c index 4c26aa2d7af6..ee14662ed5ce 100644 --- a/drivers/leds/leds-ot200.c +++ b/drivers/leds/leds-ot200.c | |||
@@ -144,7 +144,7 @@ err: | |||
144 | return ret; | 144 | return ret; |
145 | } | 145 | } |
146 | 146 | ||
147 | static int __devexit ot200_led_remove(struct platform_device *pdev) | 147 | static int ot200_led_remove(struct platform_device *pdev) |
148 | { | 148 | { |
149 | int i; | 149 | int i; |
150 | 150 | ||
diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c index f07c5203fbd5..706791af8fc8 100644 --- a/drivers/leds/leds-pca955x.c +++ b/drivers/leds/leds-pca955x.c | |||
@@ -363,7 +363,7 @@ exit: | |||
363 | return err; | 363 | return err; |
364 | } | 364 | } |
365 | 365 | ||
366 | static int __devexit pca955x_remove(struct i2c_client *client) | 366 | static int pca955x_remove(struct i2c_client *client) |
367 | { | 367 | { |
368 | struct pca955x *pca955x = i2c_get_clientdata(client); | 368 | struct pca955x *pca955x = i2c_get_clientdata(client); |
369 | int i; | 369 | int i; |
diff --git a/drivers/leds/leds-pca9633.c b/drivers/leds/leds-pca9633.c index d55bd8dc4813..9aae5679ffb2 100644 --- a/drivers/leds/leds-pca9633.c +++ b/drivers/leds/leds-pca9633.c | |||
@@ -164,7 +164,7 @@ exit: | |||
164 | return err; | 164 | return err; |
165 | } | 165 | } |
166 | 166 | ||
167 | static int __devexit pca9633_remove(struct i2c_client *client) | 167 | static int pca9633_remove(struct i2c_client *client) |
168 | { | 168 | { |
169 | struct pca9633_led *pca9633 = i2c_get_clientdata(client); | 169 | struct pca9633_led *pca9633 = i2c_get_clientdata(client); |
170 | int i; | 170 | int i; |
diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c index 7a988f18522a..e51ff7a3cd88 100644 --- a/drivers/leds/leds-pwm.c +++ b/drivers/leds/leds-pwm.c | |||
@@ -107,7 +107,7 @@ err: | |||
107 | return ret; | 107 | return ret; |
108 | } | 108 | } |
109 | 109 | ||
110 | static int __devexit led_pwm_remove(struct platform_device *pdev) | 110 | static int led_pwm_remove(struct platform_device *pdev) |
111 | { | 111 | { |
112 | int i; | 112 | int i; |
113 | struct led_pwm_platform_data *pdata = pdev->dev.platform_data; | 113 | struct led_pwm_platform_data *pdata = pdev->dev.platform_data; |
diff --git a/drivers/leds/leds-rb532.c b/drivers/leds/leds-rb532.c index 43f02f4a1953..9ebdd5011a7c 100644 --- a/drivers/leds/leds-rb532.c +++ b/drivers/leds/leds-rb532.c | |||
@@ -42,7 +42,7 @@ static int rb532_led_probe(struct platform_device *pdev) | |||
42 | return led_classdev_register(&pdev->dev, &rb532_uled); | 42 | return led_classdev_register(&pdev->dev, &rb532_uled); |
43 | } | 43 | } |
44 | 44 | ||
45 | static int __devexit rb532_led_remove(struct platform_device *pdev) | 45 | static int rb532_led_remove(struct platform_device *pdev) |
46 | { | 46 | { |
47 | led_classdev_unregister(&rb532_uled); | 47 | led_classdev_unregister(&rb532_uled); |
48 | return 0; | 48 | return 0; |
diff --git a/drivers/leds/leds-regulator.c b/drivers/leds/leds-regulator.c index adb33f7c73ad..4253a9b03dbf 100644 --- a/drivers/leds/leds-regulator.c +++ b/drivers/leds/leds-regulator.c | |||
@@ -206,7 +206,7 @@ err_vcc: | |||
206 | return ret; | 206 | return ret; |
207 | } | 207 | } |
208 | 208 | ||
209 | static int __devexit regulator_led_remove(struct platform_device *pdev) | 209 | static int regulator_led_remove(struct platform_device *pdev) |
210 | { | 210 | { |
211 | struct regulator_led *led = platform_get_drvdata(pdev); | 211 | struct regulator_led *led = platform_get_drvdata(pdev); |
212 | 212 | ||
diff --git a/drivers/leds/leds-renesas-tpu.c b/drivers/leds/leds-renesas-tpu.c index 053e45763f3c..bc8984795a3e 100644 --- a/drivers/leds/leds-renesas-tpu.c +++ b/drivers/leds/leds-renesas-tpu.c | |||
@@ -309,7 +309,7 @@ static int r_tpu_probe(struct platform_device *pdev) | |||
309 | return ret; | 309 | return ret; |
310 | } | 310 | } |
311 | 311 | ||
312 | static int __devexit r_tpu_remove(struct platform_device *pdev) | 312 | static int r_tpu_remove(struct platform_device *pdev) |
313 | { | 313 | { |
314 | struct r_tpu_priv *p = platform_get_drvdata(pdev); | 314 | struct r_tpu_priv *p = platform_get_drvdata(pdev); |
315 | 315 | ||
diff --git a/drivers/leds/leds-sunfire.c b/drivers/leds/leds-sunfire.c index f72886e08c22..07ff5a3a6cee 100644 --- a/drivers/leds/leds-sunfire.c +++ b/drivers/leds/leds-sunfire.c | |||
@@ -165,7 +165,7 @@ static int sunfire_led_generic_probe(struct platform_device *pdev, | |||
165 | return 0; | 165 | return 0; |
166 | } | 166 | } |
167 | 167 | ||
168 | static int __devexit sunfire_led_generic_remove(struct platform_device *pdev) | 168 | static int sunfire_led_generic_remove(struct platform_device *pdev) |
169 | { | 169 | { |
170 | struct sunfire_drvdata *p = dev_get_drvdata(&pdev->dev); | 170 | struct sunfire_drvdata *p = dev_get_drvdata(&pdev->dev); |
171 | int i; | 171 | int i; |
diff --git a/drivers/leds/leds-tca6507.c b/drivers/leds/leds-tca6507.c index 9acec6130494..b26a63bae16b 100644 --- a/drivers/leds/leds-tca6507.c +++ b/drivers/leds/leds-tca6507.c | |||
@@ -730,7 +730,7 @@ exit: | |||
730 | return err; | 730 | return err; |
731 | } | 731 | } |
732 | 732 | ||
733 | static int __devexit tca6507_remove(struct i2c_client *client) | 733 | static int tca6507_remove(struct i2c_client *client) |
734 | { | 734 | { |
735 | int i; | 735 | int i; |
736 | struct tca6507_chip *tca = i2c_get_clientdata(client); | 736 | struct tca6507_chip *tca = i2c_get_clientdata(client); |