aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:20:20 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 15:33:20 -0500
commitdf07cf81268192e42c4cdf91f5f4bf9aaac1b2f0 (patch)
tree74b0effa291af8cdf7b9b834ad7e8775fec9287c
parent6e0ee714fdab0568c3487455951dea2673e9557f (diff)
leds: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Jan-Simon Moeller <jansimon.moeller@gmx.de> Acked-by: Bryan Wu <cooloney@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/leds/leds-adp5520.c2
-rw-r--r--drivers/leds/leds-asic3.c2
-rw-r--r--drivers/leds/leds-blinkm.c2
-rw-r--r--drivers/leds/leds-cobalt-qube.c2
-rw-r--r--drivers/leds/leds-cobalt-raq.c2
-rw-r--r--drivers/leds/leds-da903x.c2
-rw-r--r--drivers/leds/leds-da9052.c2
-rw-r--r--drivers/leds/leds-gpio.c2
-rw-r--r--drivers/leds/leds-lm3530.c2
-rw-r--r--drivers/leds/leds-lm3533.c2
-rw-r--r--drivers/leds/leds-lm355x.c2
-rw-r--r--drivers/leds/leds-lm3642.c2
-rw-r--r--drivers/leds/leds-lp3944.c2
-rw-r--r--drivers/leds/leds-lp5521.c2
-rw-r--r--drivers/leds/leds-lp8788.c2
-rw-r--r--drivers/leds/leds-lt3593.c2
-rw-r--r--drivers/leds/leds-max8997.c2
-rw-r--r--drivers/leds/leds-mc13783.c2
-rw-r--r--drivers/leds/leds-netxbig.c2
-rw-r--r--drivers/leds/leds-ns2.c2
-rw-r--r--drivers/leds/leds-ot200.c2
-rw-r--r--drivers/leds/leds-pca955x.c2
-rw-r--r--drivers/leds/leds-pca9633.c2
-rw-r--r--drivers/leds/leds-pwm.c2
-rw-r--r--drivers/leds/leds-rb532.c2
-rw-r--r--drivers/leds/leds-regulator.c2
-rw-r--r--drivers/leds/leds-renesas-tpu.c2
-rw-r--r--drivers/leds/leds-sunfire.c4
-rw-r--r--drivers/leds/leds-tca6507.c2
29 files changed, 30 insertions, 30 deletions
diff --git a/drivers/leds/leds-adp5520.c b/drivers/leds/leds-adp5520.c
index aa56a867693a..e068802f5222 100644
--- a/drivers/leds/leds-adp5520.c
+++ b/drivers/leds/leds-adp5520.c
@@ -208,7 +208,7 @@ static struct platform_driver adp5520_led_driver = {
208 .owner = THIS_MODULE, 208 .owner = THIS_MODULE,
209 }, 209 },
210 .probe = adp5520_led_probe, 210 .probe = adp5520_led_probe,
211 .remove = __devexit_p(adp5520_led_remove), 211 .remove = adp5520_led_remove,
212}; 212};
213 213
214module_platform_driver(adp5520_led_driver); 214module_platform_driver(adp5520_led_driver);
diff --git a/drivers/leds/leds-asic3.c b/drivers/leds/leds-asic3.c
index 5de74ff90dcf..ec601e2e92dc 100644
--- a/drivers/leds/leds-asic3.c
+++ b/drivers/leds/leds-asic3.c
@@ -167,7 +167,7 @@ static const struct dev_pm_ops asic3_led_pm_ops = {
167 167
168static struct platform_driver asic3_led_driver = { 168static struct platform_driver asic3_led_driver = {
169 .probe = asic3_led_probe, 169 .probe = asic3_led_probe,
170 .remove = __devexit_p(asic3_led_remove), 170 .remove = asic3_led_remove,
171 .driver = { 171 .driver = {
172 .name = "leds-asic3", 172 .name = "leds-asic3",
173 .owner = THIS_MODULE, 173 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-blinkm.c b/drivers/leds/leds-blinkm.c
index f7c3d7f1ec52..92a2c1f696f5 100644
--- a/drivers/leds/leds-blinkm.c
+++ b/drivers/leds/leds-blinkm.c
@@ -801,7 +801,7 @@ static struct i2c_driver blinkm_driver = {
801 .name = "blinkm", 801 .name = "blinkm",
802 }, 802 },
803 .probe = blinkm_probe, 803 .probe = blinkm_probe,
804 .remove = __devexit_p(blinkm_remove), 804 .remove = blinkm_remove,
805 .id_table = blinkm_id, 805 .id_table = blinkm_id,
806 .detect = blinkm_detect, 806 .detect = blinkm_detect,
807 .address_list = normal_i2c, 807 .address_list = normal_i2c,
diff --git a/drivers/leds/leds-cobalt-qube.c b/drivers/leds/leds-cobalt-qube.c
index 6a8725cc7b4d..cdf00652dd55 100644
--- a/drivers/leds/leds-cobalt-qube.c
+++ b/drivers/leds/leds-cobalt-qube.c
@@ -77,7 +77,7 @@ static int __devexit cobalt_qube_led_remove(struct platform_device *pdev)
77 77
78static struct platform_driver cobalt_qube_led_driver = { 78static struct platform_driver cobalt_qube_led_driver = {
79 .probe = cobalt_qube_led_probe, 79 .probe = cobalt_qube_led_probe,
80 .remove = __devexit_p(cobalt_qube_led_remove), 80 .remove = cobalt_qube_led_remove,
81 .driver = { 81 .driver = {
82 .name = "cobalt-qube-leds", 82 .name = "cobalt-qube-leds",
83 .owner = THIS_MODULE, 83 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-cobalt-raq.c b/drivers/leds/leds-cobalt-raq.c
index aac1c073fe7b..0894e89d43fd 100644
--- a/drivers/leds/leds-cobalt-raq.c
+++ b/drivers/leds/leds-cobalt-raq.c
@@ -124,7 +124,7 @@ static int __devexit cobalt_raq_led_remove(struct platform_device *pdev)
124 124
125static struct platform_driver cobalt_raq_led_driver = { 125static struct platform_driver cobalt_raq_led_driver = {
126 .probe = cobalt_raq_led_probe, 126 .probe = cobalt_raq_led_probe,
127 .remove = __devexit_p(cobalt_raq_led_remove), 127 .remove = cobalt_raq_led_remove,
128 .driver = { 128 .driver = {
129 .name = "cobalt-raq-leds", 129 .name = "cobalt-raq-leds",
130 .owner = THIS_MODULE, 130 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-da903x.c b/drivers/leds/leds-da903x.c
index cc77c9d92615..de08c9312af0 100644
--- a/drivers/leds/leds-da903x.c
+++ b/drivers/leds/leds-da903x.c
@@ -150,7 +150,7 @@ static struct platform_driver da903x_led_driver = {
150 .owner = THIS_MODULE, 150 .owner = THIS_MODULE,
151 }, 151 },
152 .probe = da903x_led_probe, 152 .probe = da903x_led_probe,
153 .remove = __devexit_p(da903x_led_remove), 153 .remove = da903x_led_remove,
154}; 154};
155 155
156module_platform_driver(da903x_led_driver); 156module_platform_driver(da903x_led_driver);
diff --git a/drivers/leds/leds-da9052.c b/drivers/leds/leds-da9052.c
index 58a5244c437e..0df968cf0599 100644
--- a/drivers/leds/leds-da9052.c
+++ b/drivers/leds/leds-da9052.c
@@ -204,7 +204,7 @@ static struct platform_driver da9052_led_driver = {
204 .owner = THIS_MODULE, 204 .owner = THIS_MODULE,
205 }, 205 },
206 .probe = da9052_led_probe, 206 .probe = da9052_led_probe,
207 .remove = __devexit_p(da9052_led_remove), 207 .remove = da9052_led_remove,
208}; 208};
209 209
210module_platform_driver(da9052_led_driver); 210module_platform_driver(da9052_led_driver);
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c
index 087d1e66f4f7..51bc51311de0 100644
--- a/drivers/leds/leds-gpio.c
+++ b/drivers/leds/leds-gpio.c
@@ -288,7 +288,7 @@ static int __devexit gpio_led_remove(struct platform_device *pdev)
288 288
289static struct platform_driver gpio_led_driver = { 289static struct platform_driver gpio_led_driver = {
290 .probe = gpio_led_probe, 290 .probe = gpio_led_probe,
291 .remove = __devexit_p(gpio_led_remove), 291 .remove = gpio_led_remove,
292 .driver = { 292 .driver = {
293 .name = "leds-gpio", 293 .name = "leds-gpio",
294 .owner = THIS_MODULE, 294 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-lm3530.c b/drivers/leds/leds-lm3530.c
index b26306f6724d..5ac59e1f3334 100644
--- a/drivers/leds/leds-lm3530.c
+++ b/drivers/leds/leds-lm3530.c
@@ -472,7 +472,7 @@ MODULE_DEVICE_TABLE(i2c, lm3530_id);
472 472
473static struct i2c_driver lm3530_i2c_driver = { 473static struct i2c_driver lm3530_i2c_driver = {
474 .probe = lm3530_probe, 474 .probe = lm3530_probe,
475 .remove = __devexit_p(lm3530_remove), 475 .remove = lm3530_remove,
476 .id_table = lm3530_id, 476 .id_table = lm3530_id,
477 .driver = { 477 .driver = {
478 .name = LM3530_NAME, 478 .name = LM3530_NAME,
diff --git a/drivers/leds/leds-lm3533.c b/drivers/leds/leds-lm3533.c
index f6837b99908c..be246bf32e2d 100644
--- a/drivers/leds/leds-lm3533.c
+++ b/drivers/leds/leds-lm3533.c
@@ -774,7 +774,7 @@ static struct platform_driver lm3533_led_driver = {
774 .owner = THIS_MODULE, 774 .owner = THIS_MODULE,
775 }, 775 },
776 .probe = lm3533_led_probe, 776 .probe = lm3533_led_probe,
777 .remove = __devexit_p(lm3533_led_remove), 777 .remove = lm3533_led_remove,
778 .shutdown = lm3533_led_shutdown, 778 .shutdown = lm3533_led_shutdown,
779}; 779};
780module_platform_driver(lm3533_led_driver); 780module_platform_driver(lm3533_led_driver);
diff --git a/drivers/leds/leds-lm355x.c b/drivers/leds/leds-lm355x.c
index 065ec015d67a..307d7b960809 100644
--- a/drivers/leds/leds-lm355x.c
+++ b/drivers/leds/leds-lm355x.c
@@ -560,7 +560,7 @@ static struct i2c_driver lm355x_i2c_driver = {
560 .pm = NULL, 560 .pm = NULL,
561 }, 561 },
562 .probe = lm355x_probe, 562 .probe = lm355x_probe,
563 .remove = __devexit_p(lm355x_remove), 563 .remove = lm355x_remove,
564 .id_table = lm355x_id, 564 .id_table = lm355x_id,
565}; 565};
566 566
diff --git a/drivers/leds/leds-lm3642.c b/drivers/leds/leds-lm3642.c
index 3285006e9888..cae0b7017cbb 100644
--- a/drivers/leds/leds-lm3642.c
+++ b/drivers/leds/leds-lm3642.c
@@ -450,7 +450,7 @@ static struct i2c_driver lm3642_i2c_driver = {
450 .pm = NULL, 450 .pm = NULL,
451 }, 451 },
452 .probe = lm3642_probe, 452 .probe = lm3642_probe,
453 .remove = __devexit_p(lm3642_remove), 453 .remove = lm3642_remove,
454 .id_table = lm3642_id, 454 .id_table = lm3642_id,
455}; 455};
456 456
diff --git a/drivers/leds/leds-lp3944.c b/drivers/leds/leds-lp3944.c
index c298f7d9f535..aa74b797a2fa 100644
--- a/drivers/leds/leds-lp3944.c
+++ b/drivers/leds/leds-lp3944.c
@@ -446,7 +446,7 @@ static struct i2c_driver lp3944_driver = {
446 .name = "lp3944", 446 .name = "lp3944",
447 }, 447 },
448 .probe = lp3944_probe, 448 .probe = lp3944_probe,
449 .remove = __devexit_p(lp3944_remove), 449 .remove = lp3944_remove,
450 .id_table = lp3944_id, 450 .id_table = lp3944_id,
451}; 451};
452 452
diff --git a/drivers/leds/leds-lp5521.c b/drivers/leds/leds-lp5521.c
index 2064aefedc07..d633ecf58687 100644
--- a/drivers/leds/leds-lp5521.c
+++ b/drivers/leds/leds-lp5521.c
@@ -886,7 +886,7 @@ static struct i2c_driver lp5521_driver = {
886 .name = "lp5521", 886 .name = "lp5521",
887 }, 887 },
888 .probe = lp5521_probe, 888 .probe = lp5521_probe,
889 .remove = __devexit_p(lp5521_remove), 889 .remove = lp5521_remove,
890 .id_table = lp5521_id, 890 .id_table = lp5521_id,
891}; 891};
892 892
diff --git a/drivers/leds/leds-lp8788.c b/drivers/leds/leds-lp8788.c
index 64009a176651..fbcfc1b821f8 100644
--- a/drivers/leds/leds-lp8788.c
+++ b/drivers/leds/leds-lp8788.c
@@ -179,7 +179,7 @@ static int __devexit lp8788_led_remove(struct platform_device *pdev)
179 179
180static struct platform_driver lp8788_led_driver = { 180static struct platform_driver lp8788_led_driver = {
181 .probe = lp8788_led_probe, 181 .probe = lp8788_led_probe,
182 .remove = __devexit_p(lp8788_led_remove), 182 .remove = lp8788_led_remove,
183 .driver = { 183 .driver = {
184 .name = LP8788_DEV_KEYLED, 184 .name = LP8788_DEV_KEYLED,
185 .owner = THIS_MODULE, 185 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-lt3593.c b/drivers/leds/leds-lt3593.c
index 09a732217f6d..40657420cfc5 100644
--- a/drivers/leds/leds-lt3593.c
+++ b/drivers/leds/leds-lt3593.c
@@ -189,7 +189,7 @@ static int __devexit lt3593_led_remove(struct platform_device *pdev)
189 189
190static struct platform_driver lt3593_led_driver = { 190static struct platform_driver lt3593_led_driver = {
191 .probe = lt3593_led_probe, 191 .probe = lt3593_led_probe,
192 .remove = __devexit_p(lt3593_led_remove), 192 .remove = lt3593_led_remove,
193 .driver = { 193 .driver = {
194 .name = "leds-lt3593", 194 .name = "leds-lt3593",
195 .owner = THIS_MODULE, 195 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-max8997.c b/drivers/leds/leds-max8997.c
index 569e36de37df..b11a5a72bc3e 100644
--- a/drivers/leds/leds-max8997.c
+++ b/drivers/leds/leds-max8997.c
@@ -308,7 +308,7 @@ static struct platform_driver max8997_led_driver = {
308 .owner = THIS_MODULE, 308 .owner = THIS_MODULE,
309 }, 309 },
310 .probe = max8997_led_probe, 310 .probe = max8997_led_probe,
311 .remove = __devexit_p(max8997_led_remove), 311 .remove = max8997_led_remove,
312}; 312};
313 313
314module_platform_driver(max8997_led_driver); 314module_platform_driver(max8997_led_driver);
diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c
index 2a5d43400677..e760b0754ff1 100644
--- a/drivers/leds/leds-mc13783.c
+++ b/drivers/leds/leds-mc13783.c
@@ -381,7 +381,7 @@ static struct platform_driver mc13783_led_driver = {
381 .owner = THIS_MODULE, 381 .owner = THIS_MODULE,
382 }, 382 },
383 .probe = mc13783_led_probe, 383 .probe = mc13783_led_probe,
384 .remove = __devexit_p(mc13783_led_remove), 384 .remove = mc13783_led_remove,
385}; 385};
386 386
387module_platform_driver(mc13783_led_driver); 387module_platform_driver(mc13783_led_driver);
diff --git a/drivers/leds/leds-netxbig.c b/drivers/leds/leds-netxbig.c
index 461bbf9b33fa..b3c0377b51fb 100644
--- a/drivers/leds/leds-netxbig.c
+++ b/drivers/leds/leds-netxbig.c
@@ -407,7 +407,7 @@ static int __devexit netxbig_led_remove(struct platform_device *pdev)
407 407
408static struct platform_driver netxbig_led_driver = { 408static struct platform_driver netxbig_led_driver = {
409 .probe = netxbig_led_probe, 409 .probe = netxbig_led_probe,
410 .remove = __devexit_p(netxbig_led_remove), 410 .remove = netxbig_led_remove,
411 .driver = { 411 .driver = {
412 .name = "leds-netxbig", 412 .name = "leds-netxbig",
413 .owner = THIS_MODULE, 413 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-ns2.c b/drivers/leds/leds-ns2.c
index d176ec83f5d9..89c8b47b4794 100644
--- a/drivers/leds/leds-ns2.c
+++ b/drivers/leds/leds-ns2.c
@@ -310,7 +310,7 @@ static int __devexit ns2_led_remove(struct platform_device *pdev)
310 310
311static struct platform_driver ns2_led_driver = { 311static struct platform_driver ns2_led_driver = {
312 .probe = ns2_led_probe, 312 .probe = ns2_led_probe,
313 .remove = __devexit_p(ns2_led_remove), 313 .remove = ns2_led_remove,
314 .driver = { 314 .driver = {
315 .name = "leds-ns2", 315 .name = "leds-ns2",
316 .owner = THIS_MODULE, 316 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-ot200.c b/drivers/leds/leds-ot200.c
index c4646825a620..925217890677 100644
--- a/drivers/leds/leds-ot200.c
+++ b/drivers/leds/leds-ot200.c
@@ -156,7 +156,7 @@ static int __devexit ot200_led_remove(struct platform_device *pdev)
156 156
157static struct platform_driver ot200_led_driver = { 157static struct platform_driver ot200_led_driver = {
158 .probe = ot200_led_probe, 158 .probe = ot200_led_probe,
159 .remove = __devexit_p(ot200_led_remove), 159 .remove = ot200_led_remove,
160 .driver = { 160 .driver = {
161 .name = "leds-ot200", 161 .name = "leds-ot200",
162 .owner = THIS_MODULE, 162 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c
index aef3cf0432fe..12506e74a4c5 100644
--- a/drivers/leds/leds-pca955x.c
+++ b/drivers/leds/leds-pca955x.c
@@ -382,7 +382,7 @@ static struct i2c_driver pca955x_driver = {
382 .owner = THIS_MODULE, 382 .owner = THIS_MODULE,
383 }, 383 },
384 .probe = pca955x_probe, 384 .probe = pca955x_probe,
385 .remove = __devexit_p(pca955x_remove), 385 .remove = pca955x_remove,
386 .id_table = pca955x_id, 386 .id_table = pca955x_id,
387}; 387};
388 388
diff --git a/drivers/leds/leds-pca9633.c b/drivers/leds/leds-pca9633.c
index 2f2f9c43535d..0685f343ff18 100644
--- a/drivers/leds/leds-pca9633.c
+++ b/drivers/leds/leds-pca9633.c
@@ -183,7 +183,7 @@ static struct i2c_driver pca9633_driver = {
183 .owner = THIS_MODULE, 183 .owner = THIS_MODULE,
184 }, 184 },
185 .probe = pca9633_probe, 185 .probe = pca9633_probe,
186 .remove = __devexit_p(pca9633_remove), 186 .remove = pca9633_remove,
187 .id_table = pca9633_id, 187 .id_table = pca9633_id,
188}; 188};
189 189
diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c
index f2e44c719437..7a988f18522a 100644
--- a/drivers/leds/leds-pwm.c
+++ b/drivers/leds/leds-pwm.c
@@ -125,7 +125,7 @@ static int __devexit led_pwm_remove(struct platform_device *pdev)
125 125
126static struct platform_driver led_pwm_driver = { 126static struct platform_driver led_pwm_driver = {
127 .probe = led_pwm_probe, 127 .probe = led_pwm_probe,
128 .remove = __devexit_p(led_pwm_remove), 128 .remove = led_pwm_remove,
129 .driver = { 129 .driver = {
130 .name = "leds_pwm", 130 .name = "leds_pwm",
131 .owner = THIS_MODULE, 131 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-rb532.c b/drivers/leds/leds-rb532.c
index a7815b6cd856..e34f1ff4e8ce 100644
--- a/drivers/leds/leds-rb532.c
+++ b/drivers/leds/leds-rb532.c
@@ -50,7 +50,7 @@ static int __devexit rb532_led_remove(struct platform_device *pdev)
50 50
51static struct platform_driver rb532_led_driver = { 51static struct platform_driver rb532_led_driver = {
52 .probe = rb532_led_probe, 52 .probe = rb532_led_probe,
53 .remove = __devexit_p(rb532_led_remove), 53 .remove = rb532_led_remove,
54 .driver = { 54 .driver = {
55 .name = "rb532-led", 55 .name = "rb532-led",
56 .owner = THIS_MODULE, 56 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-regulator.c b/drivers/leds/leds-regulator.c
index 25d382d60fa9..521af9b4e299 100644
--- a/drivers/leds/leds-regulator.c
+++ b/drivers/leds/leds-regulator.c
@@ -223,7 +223,7 @@ static struct platform_driver regulator_led_driver = {
223 .owner = THIS_MODULE, 223 .owner = THIS_MODULE,
224 }, 224 },
225 .probe = regulator_led_probe, 225 .probe = regulator_led_probe,
226 .remove = __devexit_p(regulator_led_remove), 226 .remove = regulator_led_remove,
227}; 227};
228 228
229module_platform_driver(regulator_led_driver); 229module_platform_driver(regulator_led_driver);
diff --git a/drivers/leds/leds-renesas-tpu.c b/drivers/leds/leds-renesas-tpu.c
index 771ea067e680..71cab56a67aa 100644
--- a/drivers/leds/leds-renesas-tpu.c
+++ b/drivers/leds/leds-renesas-tpu.c
@@ -328,7 +328,7 @@ static int __devexit r_tpu_remove(struct platform_device *pdev)
328 328
329static struct platform_driver r_tpu_device_driver = { 329static struct platform_driver r_tpu_device_driver = {
330 .probe = r_tpu_probe, 330 .probe = r_tpu_probe,
331 .remove = __devexit_p(r_tpu_remove), 331 .remove = r_tpu_remove,
332 .driver = { 332 .driver = {
333 .name = "leds-renesas-tpu", 333 .name = "leds-renesas-tpu",
334 } 334 }
diff --git a/drivers/leds/leds-sunfire.c b/drivers/leds/leds-sunfire.c
index 134d9a4b34f1..3d35c5861146 100644
--- a/drivers/leds/leds-sunfire.c
+++ b/drivers/leds/leds-sunfire.c
@@ -223,7 +223,7 @@ MODULE_ALIAS("platform:sunfire-fhc-leds");
223 223
224static struct platform_driver sunfire_clockboard_led_driver = { 224static struct platform_driver sunfire_clockboard_led_driver = {
225 .probe = sunfire_clockboard_led_probe, 225 .probe = sunfire_clockboard_led_probe,
226 .remove = __devexit_p(sunfire_led_generic_remove), 226 .remove = sunfire_led_generic_remove,
227 .driver = { 227 .driver = {
228 .name = "sunfire-clockboard-leds", 228 .name = "sunfire-clockboard-leds",
229 .owner = THIS_MODULE, 229 .owner = THIS_MODULE,
@@ -232,7 +232,7 @@ static struct platform_driver sunfire_clockboard_led_driver = {
232 232
233static struct platform_driver sunfire_fhc_led_driver = { 233static struct platform_driver sunfire_fhc_led_driver = {
234 .probe = sunfire_fhc_led_probe, 234 .probe = sunfire_fhc_led_probe,
235 .remove = __devexit_p(sunfire_led_generic_remove), 235 .remove = sunfire_led_generic_remove,
236 .driver = { 236 .driver = {
237 .name = "sunfire-fhc-leds", 237 .name = "sunfire-fhc-leds",
238 .owner = THIS_MODULE, 238 .owner = THIS_MODULE,
diff --git a/drivers/leds/leds-tca6507.c b/drivers/leds/leds-tca6507.c
index dabcf7ae8d0f..1172b4a264e8 100644
--- a/drivers/leds/leds-tca6507.c
+++ b/drivers/leds/leds-tca6507.c
@@ -752,7 +752,7 @@ static struct i2c_driver tca6507_driver = {
752 .owner = THIS_MODULE, 752 .owner = THIS_MODULE,
753 }, 753 },
754 .probe = tca6507_probe, 754 .probe = tca6507_probe,
755 .remove = __devexit_p(tca6507_remove), 755 .remove = tca6507_remove,
756 .id_table = tca6507_id, 756 .id_table = tca6507_id,
757}; 757};
758 758