diff options
Diffstat (limited to 'drivers/leds')
34 files changed, 110 insertions, 110 deletions
diff --git a/drivers/leds/leds-adp5520.c b/drivers/leds/leds-adp5520.c index aa56a867693a..dcd9128a51a9 100644 --- a/drivers/leds/leds-adp5520.c +++ b/drivers/leds/leds-adp5520.c | |||
@@ -85,7 +85,7 @@ static int adp5520_led_setup(struct adp5520_led *led) | |||
85 | return ret; | 85 | return ret; |
86 | } | 86 | } |
87 | 87 | ||
88 | static int __devinit adp5520_led_prepare(struct platform_device *pdev) | 88 | static int adp5520_led_prepare(struct platform_device *pdev) |
89 | { | 89 | { |
90 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; | 90 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; |
91 | struct device *dev = pdev->dev.parent; | 91 | struct device *dev = pdev->dev.parent; |
@@ -101,7 +101,7 @@ static int __devinit adp5520_led_prepare(struct platform_device *pdev) | |||
101 | return ret; | 101 | return ret; |
102 | } | 102 | } |
103 | 103 | ||
104 | static int __devinit adp5520_led_probe(struct platform_device *pdev) | 104 | static int adp5520_led_probe(struct platform_device *pdev) |
105 | { | 105 | { |
106 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; | 106 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; |
107 | struct adp5520_led *led, *led_dat; | 107 | struct adp5520_led *led, *led_dat; |
@@ -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; |
@@ -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 | ||
214 | module_platform_driver(adp5520_led_driver); | 214 | module_platform_driver(adp5520_led_driver); |
diff --git a/drivers/leds/leds-asic3.c b/drivers/leds/leds-asic3.c index 5de74ff90dcf..b474745e001b 100644 --- a/drivers/leds/leds-asic3.c +++ b/drivers/leds/leds-asic3.c | |||
@@ -92,7 +92,7 @@ static int blink_set(struct led_classdev *cdev, | |||
92 | return 0; | 92 | return 0; |
93 | } | 93 | } |
94 | 94 | ||
95 | static int __devinit asic3_led_probe(struct platform_device *pdev) | 95 | static int asic3_led_probe(struct platform_device *pdev) |
96 | { | 96 | { |
97 | struct asic3_led *led = pdev->dev.platform_data; | 97 | struct asic3_led *led = pdev->dev.platform_data; |
98 | int ret; | 98 | int ret; |
@@ -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 | ||
@@ -167,7 +167,7 @@ static const struct dev_pm_ops asic3_led_pm_ops = { | |||
167 | 167 | ||
168 | static struct platform_driver asic3_led_driver = { | 168 | static 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-atmel-pwm.c b/drivers/leds/leds-atmel-pwm.c index 45430632faab..386773532d95 100644 --- a/drivers/leds/leds-atmel-pwm.c +++ b/drivers/leds/leds-atmel-pwm.c | |||
@@ -35,7 +35,7 @@ static void pwmled_brightness(struct led_classdev *cdev, enum led_brightness b) | |||
35 | * NOTE: we reuse the platform_data structure of GPIO leds, | 35 | * NOTE: we reuse the platform_data structure of GPIO leds, |
36 | * but repurpose its "gpio" number as a PWM channel number. | 36 | * but repurpose its "gpio" number as a PWM channel number. |
37 | */ | 37 | */ |
38 | static int __devinit pwmled_probe(struct platform_device *pdev) | 38 | static int pwmled_probe(struct platform_device *pdev) |
39 | { | 39 | { |
40 | const struct gpio_led_platform_data *pdata; | 40 | const struct gpio_led_platform_data *pdata; |
41 | struct pwmled *leds; | 41 | struct pwmled *leds; |
diff --git a/drivers/leds/leds-bd2802.c b/drivers/leds/leds-bd2802.c index 89ca6a2a19d1..9abe8de40edd 100644 --- a/drivers/leds/leds-bd2802.c +++ b/drivers/leds/leds-bd2802.c | |||
@@ -670,7 +670,7 @@ static void bd2802_unregister_led_classdev(struct bd2802_led *led) | |||
670 | led_classdev_unregister(&led->cdev_led1r); | 670 | led_classdev_unregister(&led->cdev_led1r); |
671 | } | 671 | } |
672 | 672 | ||
673 | static int __devinit bd2802_probe(struct i2c_client *client, | 673 | static int bd2802_probe(struct i2c_client *client, |
674 | const struct i2c_device_id *id) | 674 | const struct i2c_device_id *id) |
675 | { | 675 | { |
676 | struct bd2802_led *led; | 676 | struct bd2802_led *led; |
diff --git a/drivers/leds/leds-blinkm.c b/drivers/leds/leds-blinkm.c index f7c3d7f1ec52..a502678cc7f5 100644 --- a/drivers/leds/leds-blinkm.c +++ b/drivers/leds/leds-blinkm.c | |||
@@ -632,7 +632,7 @@ static int blinkm_detect(struct i2c_client *client, struct i2c_board_info *info) | |||
632 | return 0; | 632 | return 0; |
633 | } | 633 | } |
634 | 634 | ||
635 | static int __devinit blinkm_probe(struct i2c_client *client, | 635 | static int blinkm_probe(struct i2c_client *client, |
636 | const struct i2c_device_id *id) | 636 | const struct i2c_device_id *id) |
637 | { | 637 | { |
638 | struct blinkm_data *data; | 638 | struct blinkm_data *data; |
@@ -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; |
@@ -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-clevo-mail.c b/drivers/leds/leds-clevo-mail.c index e024b0b1c3b1..b02547052e12 100644 --- a/drivers/leds/leds-clevo-mail.c +++ b/drivers/leds/leds-clevo-mail.c | |||
@@ -153,7 +153,7 @@ static struct led_classdev clevo_mail_led = { | |||
153 | .flags = LED_CORE_SUSPENDRESUME, | 153 | .flags = LED_CORE_SUSPENDRESUME, |
154 | }; | 154 | }; |
155 | 155 | ||
156 | static int __devinit clevo_mail_led_probe(struct platform_device *pdev) | 156 | static int clevo_mail_led_probe(struct platform_device *pdev) |
157 | { | 157 | { |
158 | return led_classdev_register(&pdev->dev, &clevo_mail_led); | 158 | return led_classdev_register(&pdev->dev, &clevo_mail_led); |
159 | } | 159 | } |
diff --git a/drivers/leds/leds-cobalt-qube.c b/drivers/leds/leds-cobalt-qube.c index 6a8725cc7b4d..ffa99303b629 100644 --- a/drivers/leds/leds-cobalt-qube.c +++ b/drivers/leds/leds-cobalt-qube.c | |||
@@ -34,7 +34,7 @@ static struct led_classdev qube_front_led = { | |||
34 | .default_trigger = "default-on", | 34 | .default_trigger = "default-on", |
35 | }; | 35 | }; |
36 | 36 | ||
37 | static int __devinit cobalt_qube_led_probe(struct platform_device *pdev) | 37 | static int cobalt_qube_led_probe(struct platform_device *pdev) |
38 | { | 38 | { |
39 | struct resource *res; | 39 | struct resource *res; |
40 | int retval; | 40 | int retval; |
@@ -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 | ||
@@ -77,7 +77,7 @@ static int __devexit cobalt_qube_led_remove(struct platform_device *pdev) | |||
77 | 77 | ||
78 | static struct platform_driver cobalt_qube_led_driver = { | 78 | static 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..d52e47de396f 100644 --- a/drivers/leds/leds-cobalt-raq.c +++ b/drivers/leds/leds-cobalt-raq.c | |||
@@ -76,7 +76,7 @@ static struct led_classdev raq_power_off_led = { | |||
76 | .default_trigger = "power-off", | 76 | .default_trigger = "power-off", |
77 | }; | 77 | }; |
78 | 78 | ||
79 | static int __devinit cobalt_raq_led_probe(struct platform_device *pdev) | 79 | static int cobalt_raq_led_probe(struct platform_device *pdev) |
80 | { | 80 | { |
81 | struct resource *res; | 81 | struct resource *res; |
82 | int retval; | 82 | int retval; |
@@ -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); |
@@ -124,7 +124,7 @@ static int __devexit cobalt_raq_led_remove(struct platform_device *pdev) | |||
124 | 124 | ||
125 | static struct platform_driver cobalt_raq_led_driver = { | 125 | static 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..6f31b776765b 100644 --- a/drivers/leds/leds-da903x.c +++ b/drivers/leds/leds-da903x.c | |||
@@ -91,7 +91,7 @@ static void da903x_led_set(struct led_classdev *led_cdev, | |||
91 | schedule_work(&led->work); | 91 | schedule_work(&led->work); |
92 | } | 92 | } |
93 | 93 | ||
94 | static int __devinit da903x_led_probe(struct platform_device *pdev) | 94 | static int da903x_led_probe(struct platform_device *pdev) |
95 | { | 95 | { |
96 | struct led_info *pdata = pdev->dev.platform_data; | 96 | struct led_info *pdata = pdev->dev.platform_data; |
97 | struct da903x_led *led; | 97 | struct da903x_led *led; |
@@ -136,7 +136,7 @@ static int __devinit 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 | ||
@@ -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 | ||
156 | module_platform_driver(da903x_led_driver); | 156 | module_platform_driver(da903x_led_driver); |
diff --git a/drivers/leds/leds-da9052.c b/drivers/leds/leds-da9052.c index 58a5244c437e..efec43344e9f 100644 --- a/drivers/leds/leds-da9052.c +++ b/drivers/leds/leds-da9052.c | |||
@@ -102,7 +102,7 @@ static int da9052_configure_leds(struct da9052 *da9052) | |||
102 | return error; | 102 | return error; |
103 | } | 103 | } |
104 | 104 | ||
105 | static int __devinit da9052_led_probe(struct platform_device *pdev) | 105 | static int da9052_led_probe(struct platform_device *pdev) |
106 | { | 106 | { |
107 | struct da9052_pdata *pdata; | 107 | struct da9052_pdata *pdata; |
108 | struct da9052 *da9052; | 108 | struct da9052 *da9052; |
@@ -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; |
@@ -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 | ||
210 | module_platform_driver(da9052_led_driver); | 210 | module_platform_driver(da9052_led_driver); |
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 087d1e66f4f7..291c20797ca0 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c | |||
@@ -91,7 +91,7 @@ static int gpio_blink_set(struct led_classdev *led_cdev, | |||
91 | delay_on, delay_off); | 91 | delay_on, delay_off); |
92 | } | 92 | } |
93 | 93 | ||
94 | static int __devinit create_gpio_led(const struct gpio_led *template, | 94 | static int create_gpio_led(const struct gpio_led *template, |
95 | struct gpio_led_data *led_dat, struct device *parent, | 95 | struct gpio_led_data *led_dat, struct device *parent, |
96 | int (*blink_set)(unsigned, int, unsigned long *, unsigned long *)) | 96 | int (*blink_set)(unsigned, int, unsigned long *, unsigned long *)) |
97 | { | 97 | { |
@@ -167,7 +167,7 @@ static inline int sizeof_gpio_leds_priv(int num_leds) | |||
167 | 167 | ||
168 | /* Code to create from OpenFirmware platform devices */ | 168 | /* Code to create from OpenFirmware platform devices */ |
169 | #ifdef CONFIG_OF_GPIO | 169 | #ifdef CONFIG_OF_GPIO |
170 | static struct gpio_leds_priv * __devinit gpio_leds_create_of(struct platform_device *pdev) | 170 | static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev) |
171 | { | 171 | { |
172 | struct device_node *np = pdev->dev.of_node, *child; | 172 | struct device_node *np = pdev->dev.of_node, *child; |
173 | struct gpio_leds_priv *priv; | 173 | struct gpio_leds_priv *priv; |
@@ -224,14 +224,14 @@ static const struct of_device_id of_gpio_leds_match[] = { | |||
224 | {}, | 224 | {}, |
225 | }; | 225 | }; |
226 | #else /* CONFIG_OF_GPIO */ | 226 | #else /* CONFIG_OF_GPIO */ |
227 | static struct gpio_leds_priv * __devinit gpio_leds_create_of(struct platform_device *pdev) | 227 | static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev) |
228 | { | 228 | { |
229 | return NULL; | 229 | return NULL; |
230 | } | 230 | } |
231 | #endif /* CONFIG_OF_GPIO */ | 231 | #endif /* CONFIG_OF_GPIO */ |
232 | 232 | ||
233 | 233 | ||
234 | static int __devinit gpio_led_probe(struct platform_device *pdev) | 234 | static int gpio_led_probe(struct platform_device *pdev) |
235 | { | 235 | { |
236 | struct gpio_led_platform_data *pdata = pdev->dev.platform_data; | 236 | struct gpio_led_platform_data *pdata = pdev->dev.platform_data; |
237 | struct gpio_leds_priv *priv; | 237 | struct gpio_leds_priv *priv; |
@@ -273,7 +273,7 @@ static int __devinit 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; |
@@ -288,7 +288,7 @@ static int __devexit gpio_led_remove(struct platform_device *pdev) | |||
288 | 288 | ||
289 | static struct platform_driver gpio_led_driver = { | 289 | static 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..214145483836 100644 --- a/drivers/leds/leds-lm3530.c +++ b/drivers/leds/leds-lm3530.c | |||
@@ -377,7 +377,7 @@ static ssize_t lm3530_mode_set(struct device *dev, struct device_attribute | |||
377 | } | 377 | } |
378 | static DEVICE_ATTR(mode, 0644, lm3530_mode_get, lm3530_mode_set); | 378 | static DEVICE_ATTR(mode, 0644, lm3530_mode_get, lm3530_mode_set); |
379 | 379 | ||
380 | static int __devinit lm3530_probe(struct i2c_client *client, | 380 | static int lm3530_probe(struct i2c_client *client, |
381 | const struct i2c_device_id *id) | 381 | const struct i2c_device_id *id) |
382 | { | 382 | { |
383 | struct lm3530_platform_data *pdata = client->dev.platform_data; | 383 | struct lm3530_platform_data *pdata = client->dev.platform_data; |
@@ -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 | ||
@@ -472,7 +472,7 @@ MODULE_DEVICE_TABLE(i2c, lm3530_id); | |||
472 | 472 | ||
473 | static struct i2c_driver lm3530_i2c_driver = { | 473 | static 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..bbf24d038a7f 100644 --- a/drivers/leds/leds-lm3533.c +++ b/drivers/leds/leds-lm3533.c | |||
@@ -646,7 +646,7 @@ static struct attribute_group lm3533_led_attribute_group = { | |||
646 | .attrs = lm3533_led_attributes | 646 | .attrs = lm3533_led_attributes |
647 | }; | 647 | }; |
648 | 648 | ||
649 | static int __devinit lm3533_led_setup(struct lm3533_led *led, | 649 | static int lm3533_led_setup(struct lm3533_led *led, |
650 | struct lm3533_led_platform_data *pdata) | 650 | struct lm3533_led_platform_data *pdata) |
651 | { | 651 | { |
652 | int ret; | 652 | int ret; |
@@ -658,7 +658,7 @@ static int __devinit lm3533_led_setup(struct lm3533_led *led, | |||
658 | return lm3533_ctrlbank_set_pwm(&led->cb, pdata->pwm); | 658 | return lm3533_ctrlbank_set_pwm(&led->cb, pdata->pwm); |
659 | } | 659 | } |
660 | 660 | ||
661 | static int __devinit lm3533_led_probe(struct platform_device *pdev) | 661 | static int lm3533_led_probe(struct platform_device *pdev) |
662 | { | 662 | { |
663 | struct lm3533 *lm3533; | 663 | struct lm3533 *lm3533; |
664 | struct lm3533_led_platform_data *pdata; | 664 | struct lm3533_led_platform_data *pdata; |
@@ -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 | ||
@@ -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 | }; |
780 | module_platform_driver(lm3533_led_driver); | 780 | module_platform_driver(lm3533_led_driver); |
diff --git a/drivers/leds/leds-lm355x.c b/drivers/leds/leds-lm355x.c index 065ec015d67a..b13ce0371918 100644 --- a/drivers/leds/leds-lm355x.c +++ b/drivers/leds/leds-lm355x.c | |||
@@ -168,7 +168,7 @@ static char lm355x_name[][I2C_NAME_SIZE] = { | |||
168 | }; | 168 | }; |
169 | 169 | ||
170 | /* chip initialize */ | 170 | /* chip initialize */ |
171 | static int __devinit lm355x_chip_init(struct lm355x_chip_data *chip) | 171 | static int lm355x_chip_init(struct lm355x_chip_data *chip) |
172 | { | 172 | { |
173 | int ret; | 173 | int ret; |
174 | unsigned int reg_val; | 174 | unsigned int reg_val; |
@@ -420,7 +420,7 @@ static const struct regmap_config lm355x_regmap = { | |||
420 | }; | 420 | }; |
421 | 421 | ||
422 | /* module initialize */ | 422 | /* module initialize */ |
423 | static int __devinit lm355x_probe(struct i2c_client *client, | 423 | static int lm355x_probe(struct i2c_client *client, |
424 | const struct i2c_device_id *id) | 424 | const struct i2c_device_id *id) |
425 | { | 425 | { |
426 | struct lm355x_platform_data *pdata = client->dev.platform_data; | 426 | struct lm355x_platform_data *pdata = client->dev.platform_data; |
@@ -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; |
@@ -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..215a7c1e56cc 100644 --- a/drivers/leds/leds-lm3642.c +++ b/drivers/leds/leds-lm3642.c | |||
@@ -93,7 +93,7 @@ struct lm3642_chip_data { | |||
93 | }; | 93 | }; |
94 | 94 | ||
95 | /* chip initialize */ | 95 | /* chip initialize */ |
96 | static int __devinit lm3642_chip_init(struct lm3642_chip_data *chip) | 96 | static int lm3642_chip_init(struct lm3642_chip_data *chip) |
97 | { | 97 | { |
98 | int ret; | 98 | int ret; |
99 | struct lm3642_platform_data *pdata = chip->pdata; | 99 | struct lm3642_platform_data *pdata = chip->pdata; |
@@ -313,7 +313,7 @@ static const struct regmap_config lm3642_regmap = { | |||
313 | .max_register = REG_MAX, | 313 | .max_register = REG_MAX, |
314 | }; | 314 | }; |
315 | 315 | ||
316 | static int __devinit lm3642_probe(struct i2c_client *client, | 316 | static int lm3642_probe(struct i2c_client *client, |
317 | const struct i2c_device_id *id) | 317 | const struct i2c_device_id *id) |
318 | { | 318 | { |
319 | struct lm3642_platform_data *pdata = client->dev.platform_data; | 319 | struct lm3642_platform_data *pdata = client->dev.platform_data; |
@@ -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 | ||
@@ -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..b081f67e1dea 100644 --- a/drivers/leds/leds-lp3944.c +++ b/drivers/leds/leds-lp3944.c | |||
@@ -374,7 +374,7 @@ exit: | |||
374 | return err; | 374 | return err; |
375 | } | 375 | } |
376 | 376 | ||
377 | static int __devinit lp3944_probe(struct i2c_client *client, | 377 | static int lp3944_probe(struct i2c_client *client, |
378 | const struct i2c_device_id *id) | 378 | const struct i2c_device_id *id) |
379 | { | 379 | { |
380 | struct lp3944_platform_data *lp3944_pdata = client->dev.platform_data; | 380 | struct lp3944_platform_data *lp3944_pdata = client->dev.platform_data; |
@@ -411,7 +411,7 @@ static int __devinit 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); |
@@ -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..966f158a07db 100644 --- a/drivers/leds/leds-lp5521.c +++ b/drivers/leds/leds-lp5521.c | |||
@@ -687,7 +687,7 @@ static void lp5521_unregister_sysfs(struct i2c_client *client) | |||
687 | &lp5521_led_attribute_group); | 687 | &lp5521_led_attribute_group); |
688 | } | 688 | } |
689 | 689 | ||
690 | static int __devinit lp5521_init_led(struct lp5521_led *led, | 690 | static int lp5521_init_led(struct lp5521_led *led, |
691 | struct i2c_client *client, | 691 | struct i2c_client *client, |
692 | int chan, struct lp5521_platform_data *pdata) | 692 | int chan, struct lp5521_platform_data *pdata) |
693 | { | 693 | { |
@@ -736,7 +736,7 @@ static int __devinit lp5521_init_led(struct lp5521_led *led, | |||
736 | return 0; | 736 | return 0; |
737 | } | 737 | } |
738 | 738 | ||
739 | static int __devinit lp5521_probe(struct i2c_client *client, | 739 | static int lp5521_probe(struct i2c_client *client, |
740 | const struct i2c_device_id *id) | 740 | const struct i2c_device_id *id) |
741 | { | 741 | { |
742 | struct lp5521_chip *chip; | 742 | struct lp5521_chip *chip; |
@@ -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; |
@@ -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-lp5523.c b/drivers/leds/leds-lp5523.c index 97994ffdc014..7e304b7ff779 100644 --- a/drivers/leds/leds-lp5523.c +++ b/drivers/leds/leds-lp5523.c | |||
@@ -833,7 +833,7 @@ static int __init lp5523_init_engine(struct lp5523_engine *engine, int id) | |||
833 | return 0; | 833 | return 0; |
834 | } | 834 | } |
835 | 835 | ||
836 | static int __devinit lp5523_init_led(struct lp5523_led *led, struct device *dev, | 836 | static int lp5523_init_led(struct lp5523_led *led, struct device *dev, |
837 | int chan, struct lp5523_platform_data *pdata, | 837 | int chan, struct lp5523_platform_data *pdata, |
838 | const char *chip_name) | 838 | const char *chip_name) |
839 | { | 839 | { |
@@ -882,7 +882,7 @@ static int __devinit lp5523_init_led(struct lp5523_led *led, struct device *dev, | |||
882 | return 0; | 882 | return 0; |
883 | } | 883 | } |
884 | 884 | ||
885 | static int __devinit lp5523_probe(struct i2c_client *client, | 885 | static int lp5523_probe(struct i2c_client *client, |
886 | const struct i2c_device_id *id) | 886 | const struct i2c_device_id *id) |
887 | { | 887 | { |
888 | struct lp5523_chip *chip; | 888 | struct lp5523_chip *chip; |
diff --git a/drivers/leds/leds-lp8788.c b/drivers/leds/leds-lp8788.c index 64009a176651..4353942c5fd1 100644 --- a/drivers/leds/leds-lp8788.c +++ b/drivers/leds/leds-lp8788.c | |||
@@ -125,7 +125,7 @@ static void lp8788_brightness_set(struct led_classdev *led_cdev, | |||
125 | schedule_work(&led->work); | 125 | schedule_work(&led->work); |
126 | } | 126 | } |
127 | 127 | ||
128 | static __devinit int lp8788_led_probe(struct platform_device *pdev) | 128 | static int lp8788_led_probe(struct platform_device *pdev) |
129 | { | 129 | { |
130 | struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); | 130 | struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); |
131 | struct lp8788_led_platform_data *led_pdata; | 131 | struct lp8788_led_platform_data *led_pdata; |
@@ -167,7 +167,7 @@ static __devinit 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 | ||
@@ -179,7 +179,7 @@ static int __devexit lp8788_led_remove(struct platform_device *pdev) | |||
179 | 179 | ||
180 | static struct platform_driver lp8788_led_driver = { | 180 | static 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..34b3ba4376fc 100644 --- a/drivers/leds/leds-lt3593.c +++ b/drivers/leds/leds-lt3593.c | |||
@@ -82,7 +82,7 @@ static void lt3593_led_set(struct led_classdev *led_cdev, | |||
82 | schedule_work(&led_dat->work); | 82 | schedule_work(&led_dat->work); |
83 | } | 83 | } |
84 | 84 | ||
85 | static int __devinit create_lt3593_led(const struct gpio_led *template, | 85 | static int create_lt3593_led(const struct gpio_led *template, |
86 | struct lt3593_led_data *led_dat, struct device *parent) | 86 | struct lt3593_led_data *led_dat, struct device *parent) |
87 | { | 87 | { |
88 | int ret, state; | 88 | int ret, state; |
@@ -140,7 +140,7 @@ static void delete_lt3593_led(struct lt3593_led_data *led) | |||
140 | gpio_free(led->gpio); | 140 | gpio_free(led->gpio); |
141 | } | 141 | } |
142 | 142 | ||
143 | static int __devinit lt3593_led_probe(struct platform_device *pdev) | 143 | static int lt3593_led_probe(struct platform_device *pdev) |
144 | { | 144 | { |
145 | struct gpio_led_platform_data *pdata = pdev->dev.platform_data; | 145 | struct gpio_led_platform_data *pdata = pdev->dev.platform_data; |
146 | struct lt3593_led_data *leds_data; | 146 | struct lt3593_led_data *leds_data; |
@@ -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; |
@@ -189,7 +189,7 @@ static int __devexit lt3593_led_remove(struct platform_device *pdev) | |||
189 | 189 | ||
190 | static struct platform_driver lt3593_led_driver = { | 190 | static 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..f449a8bdddc7 100644 --- a/drivers/leds/leds-max8997.c +++ b/drivers/leds/leds-max8997.c | |||
@@ -229,7 +229,7 @@ static ssize_t max8997_led_store_mode(struct device *dev, | |||
229 | 229 | ||
230 | static DEVICE_ATTR(mode, 0644, max8997_led_show_mode, max8997_led_store_mode); | 230 | static DEVICE_ATTR(mode, 0644, max8997_led_show_mode, max8997_led_store_mode); |
231 | 231 | ||
232 | static int __devinit max8997_led_probe(struct platform_device *pdev) | 232 | static int max8997_led_probe(struct platform_device *pdev) |
233 | { | 233 | { |
234 | struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); | 234 | struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); |
235 | struct max8997_platform_data *pdata = dev_get_platdata(iodev->dev); | 235 | struct max8997_platform_data *pdata = dev_get_platdata(iodev->dev); |
@@ -292,7 +292,7 @@ static int __devinit 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 | ||
@@ -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 | ||
314 | module_platform_driver(max8997_led_driver); | 314 | module_platform_driver(max8997_led_driver); |
diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c index 2a5d43400677..e942adaa7504 100644 --- a/drivers/leds/leds-mc13783.c +++ b/drivers/leds/leds-mc13783.c | |||
@@ -128,7 +128,7 @@ static void mc13783_led_set(struct led_classdev *led_cdev, | |||
128 | schedule_work(&led->work); | 128 | schedule_work(&led->work); |
129 | } | 129 | } |
130 | 130 | ||
131 | static int __devinit mc13783_led_setup(struct mc13783_led *led, int max_current) | 131 | static int mc13783_led_setup(struct mc13783_led *led, int max_current) |
132 | { | 132 | { |
133 | int shift = 0; | 133 | int shift = 0; |
134 | int mask = 0; | 134 | int mask = 0; |
@@ -181,7 +181,7 @@ static int __devinit mc13783_led_setup(struct mc13783_led *led, int max_current) | |||
181 | return ret; | 181 | return ret; |
182 | } | 182 | } |
183 | 183 | ||
184 | static int __devinit mc13783_leds_prepare(struct platform_device *pdev) | 184 | static int mc13783_leds_prepare(struct platform_device *pdev) |
185 | { | 185 | { |
186 | struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); | 186 | struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); |
187 | struct mc13xxx *dev = dev_get_drvdata(pdev->dev.parent); | 187 | struct mc13xxx *dev = dev_get_drvdata(pdev->dev.parent); |
@@ -262,7 +262,7 @@ out: | |||
262 | return ret; | 262 | return ret; |
263 | } | 263 | } |
264 | 264 | ||
265 | static int __devinit mc13783_led_probe(struct platform_device *pdev) | 265 | static int mc13783_led_probe(struct platform_device *pdev) |
266 | { | 266 | { |
267 | struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); | 267 | struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); |
268 | struct mc13xxx_led_platform_data *led_cur; | 268 | struct mc13xxx_led_platform_data *led_cur; |
@@ -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); |
@@ -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 | ||
387 | module_platform_driver(mc13783_led_driver); | 387 | module_platform_driver(mc13783_led_driver); |
diff --git a/drivers/leds/leds-netxbig.c b/drivers/leds/leds-netxbig.c index 461bbf9b33fa..58a800b17dc7 100644 --- a/drivers/leds/leds-netxbig.c +++ b/drivers/leds/leds-netxbig.c | |||
@@ -71,7 +71,7 @@ static void gpio_ext_set_value(struct netxbig_gpio_ext *gpio_ext, | |||
71 | spin_unlock_irqrestore(&gpio_ext_lock, flags); | 71 | spin_unlock_irqrestore(&gpio_ext_lock, flags); |
72 | } | 72 | } |
73 | 73 | ||
74 | static int __devinit gpio_ext_init(struct netxbig_gpio_ext *gpio_ext) | 74 | static int gpio_ext_init(struct netxbig_gpio_ext *gpio_ext) |
75 | { | 75 | { |
76 | int err; | 76 | int err; |
77 | int i; | 77 | int i; |
@@ -301,7 +301,7 @@ static void delete_netxbig_led(struct netxbig_led_data *led_dat) | |||
301 | led_classdev_unregister(&led_dat->cdev); | 301 | led_classdev_unregister(&led_dat->cdev); |
302 | } | 302 | } |
303 | 303 | ||
304 | static int __devinit | 304 | static int |
305 | create_netxbig_led(struct platform_device *pdev, | 305 | create_netxbig_led(struct platform_device *pdev, |
306 | struct netxbig_led_data *led_dat, | 306 | struct netxbig_led_data *led_dat, |
307 | const struct netxbig_led *template) | 307 | const struct netxbig_led *template) |
@@ -352,7 +352,7 @@ create_netxbig_led(struct platform_device *pdev, | |||
352 | return ret; | 352 | return ret; |
353 | } | 353 | } |
354 | 354 | ||
355 | static int __devinit netxbig_led_probe(struct platform_device *pdev) | 355 | static int netxbig_led_probe(struct platform_device *pdev) |
356 | { | 356 | { |
357 | struct netxbig_led_platform_data *pdata = pdev->dev.platform_data; | 357 | struct netxbig_led_platform_data *pdata = pdev->dev.platform_data; |
358 | struct netxbig_led_data *leds_data; | 358 | struct netxbig_led_data *leds_data; |
@@ -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; |
@@ -407,7 +407,7 @@ static int __devexit netxbig_led_remove(struct platform_device *pdev) | |||
407 | 407 | ||
408 | static struct platform_driver netxbig_led_driver = { | 408 | static 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..6315e88d04fd 100644 --- a/drivers/leds/leds-ns2.c +++ b/drivers/leds/leds-ns2.c | |||
@@ -184,7 +184,7 @@ static ssize_t ns2_led_sata_show(struct device *dev, | |||
184 | 184 | ||
185 | static DEVICE_ATTR(sata, 0644, ns2_led_sata_show, ns2_led_sata_store); | 185 | static DEVICE_ATTR(sata, 0644, ns2_led_sata_show, ns2_led_sata_store); |
186 | 186 | ||
187 | static int __devinit | 187 | static int |
188 | create_ns2_led(struct platform_device *pdev, struct ns2_led_data *led_dat, | 188 | create_ns2_led(struct platform_device *pdev, struct ns2_led_data *led_dat, |
189 | const struct ns2_led *template) | 189 | const struct ns2_led *template) |
190 | { | 190 | { |
@@ -263,7 +263,7 @@ static void delete_ns2_led(struct ns2_led_data *led_dat) | |||
263 | gpio_free(led_dat->slow); | 263 | gpio_free(led_dat->slow); |
264 | } | 264 | } |
265 | 265 | ||
266 | static int __devinit ns2_led_probe(struct platform_device *pdev) | 266 | static int ns2_led_probe(struct platform_device *pdev) |
267 | { | 267 | { |
268 | struct ns2_led_platform_data *pdata = pdev->dev.platform_data; | 268 | struct ns2_led_platform_data *pdata = pdev->dev.platform_data; |
269 | struct ns2_led_data *leds_data; | 269 | struct ns2_led_data *leds_data; |
@@ -292,7 +292,7 @@ static int __devinit 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; |
@@ -310,7 +310,7 @@ static int __devexit ns2_led_remove(struct platform_device *pdev) | |||
310 | 310 | ||
311 | static struct platform_driver ns2_led_driver = { | 311 | static 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..ee14662ed5ce 100644 --- a/drivers/leds/leds-ot200.c +++ b/drivers/leds/leds-ot200.c | |||
@@ -115,7 +115,7 @@ static void ot200_led_brightness_set(struct led_classdev *led_cdev, | |||
115 | spin_unlock_irqrestore(&value_lock, flags); | 115 | spin_unlock_irqrestore(&value_lock, flags); |
116 | } | 116 | } |
117 | 117 | ||
118 | static int __devinit ot200_led_probe(struct platform_device *pdev) | 118 | static int ot200_led_probe(struct platform_device *pdev) |
119 | { | 119 | { |
120 | int i; | 120 | int i; |
121 | int ret; | 121 | int ret; |
@@ -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 | ||
@@ -156,7 +156,7 @@ static int __devexit ot200_led_remove(struct platform_device *pdev) | |||
156 | 156 | ||
157 | static struct platform_driver ot200_led_driver = { | 157 | static 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..706791af8fc8 100644 --- a/drivers/leds/leds-pca955x.c +++ b/drivers/leds/leds-pca955x.c | |||
@@ -255,7 +255,7 @@ static void pca955x_led_set(struct led_classdev *led_cdev, enum led_brightness v | |||
255 | schedule_work(&pca955x->work); | 255 | schedule_work(&pca955x->work); |
256 | } | 256 | } |
257 | 257 | ||
258 | static int __devinit pca955x_probe(struct i2c_client *client, | 258 | static int pca955x_probe(struct i2c_client *client, |
259 | const struct i2c_device_id *id) | 259 | const struct i2c_device_id *id) |
260 | { | 260 | { |
261 | struct pca955x *pca955x; | 261 | struct pca955x *pca955x; |
@@ -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; |
@@ -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..9aae5679ffb2 100644 --- a/drivers/leds/leds-pca9633.c +++ b/drivers/leds/leds-pca9633.c | |||
@@ -93,7 +93,7 @@ static void pca9633_led_set(struct led_classdev *led_cdev, | |||
93 | schedule_work(&pca9633->work); | 93 | schedule_work(&pca9633->work); |
94 | } | 94 | } |
95 | 95 | ||
96 | static int __devinit pca9633_probe(struct i2c_client *client, | 96 | static int pca9633_probe(struct i2c_client *client, |
97 | const struct i2c_device_id *id) | 97 | const struct i2c_device_id *id) |
98 | { | 98 | { |
99 | struct pca9633_led *pca9633; | 99 | struct pca9633_led *pca9633; |
@@ -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; |
@@ -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..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; |
@@ -125,7 +125,7 @@ static int __devexit led_pwm_remove(struct platform_device *pdev) | |||
125 | 125 | ||
126 | static struct platform_driver led_pwm_driver = { | 126 | static 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..9ebdd5011a7c 100644 --- a/drivers/leds/leds-rb532.c +++ b/drivers/leds/leds-rb532.c | |||
@@ -37,12 +37,12 @@ static struct led_classdev rb532_uled = { | |||
37 | .default_trigger = "nand-disk", | 37 | .default_trigger = "nand-disk", |
38 | }; | 38 | }; |
39 | 39 | ||
40 | static int __devinit rb532_led_probe(struct platform_device *pdev) | 40 | static int rb532_led_probe(struct platform_device *pdev) |
41 | { | 41 | { |
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; |
@@ -50,7 +50,7 @@ static int __devexit rb532_led_remove(struct platform_device *pdev) | |||
50 | 50 | ||
51 | static struct platform_driver rb532_led_driver = { | 51 | static 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..4253a9b03dbf 100644 --- a/drivers/leds/leds-regulator.c +++ b/drivers/leds/leds-regulator.c | |||
@@ -140,7 +140,7 @@ static void regulator_led_brightness_set(struct led_classdev *led_cdev, | |||
140 | schedule_work(&led->work); | 140 | schedule_work(&led->work); |
141 | } | 141 | } |
142 | 142 | ||
143 | static int __devinit regulator_led_probe(struct platform_device *pdev) | 143 | static int regulator_led_probe(struct platform_device *pdev) |
144 | { | 144 | { |
145 | struct led_regulator_platform_data *pdata = pdev->dev.platform_data; | 145 | struct led_regulator_platform_data *pdata = pdev->dev.platform_data; |
146 | struct regulator_led *led; | 146 | struct regulator_led *led; |
@@ -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 | ||
@@ -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 | ||
229 | module_platform_driver(regulator_led_driver); | 229 | module_platform_driver(regulator_led_driver); |
diff --git a/drivers/leds/leds-renesas-tpu.c b/drivers/leds/leds-renesas-tpu.c index 771ea067e680..bc8984795a3e 100644 --- a/drivers/leds/leds-renesas-tpu.c +++ b/drivers/leds/leds-renesas-tpu.c | |||
@@ -238,7 +238,7 @@ static void r_tpu_set_brightness(struct led_classdev *ldev, | |||
238 | schedule_work(&p->work); | 238 | schedule_work(&p->work); |
239 | } | 239 | } |
240 | 240 | ||
241 | static int __devinit r_tpu_probe(struct platform_device *pdev) | 241 | static int r_tpu_probe(struct platform_device *pdev) |
242 | { | 242 | { |
243 | struct led_renesas_tpu_config *cfg = pdev->dev.platform_data; | 243 | struct led_renesas_tpu_config *cfg = pdev->dev.platform_data; |
244 | struct r_tpu_priv *p; | 244 | struct r_tpu_priv *p; |
@@ -309,7 +309,7 @@ static int __devinit 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 | ||
@@ -328,7 +328,7 @@ static int __devexit r_tpu_remove(struct platform_device *pdev) | |||
328 | 328 | ||
329 | static struct platform_driver r_tpu_device_driver = { | 329 | static 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-ss4200.c b/drivers/leds/leds-ss4200.c index 57371e1485ab..6469849e8266 100644 --- a/drivers/leds/leds-ss4200.c +++ b/drivers/leds/leds-ss4200.c | |||
@@ -263,7 +263,7 @@ static int nasgpio_led_set_blink(struct led_classdev *led_cdev, | |||
263 | * already taken care of this, but we will do so in a non destructive manner | 263 | * already taken care of this, but we will do so in a non destructive manner |
264 | * so that we have what we need whether the BIOS did it or not. | 264 | * so that we have what we need whether the BIOS did it or not. |
265 | */ | 265 | */ |
266 | static int __devinit ich7_gpio_init(struct device *dev) | 266 | static int ich7_gpio_init(struct device *dev) |
267 | { | 267 | { |
268 | int i; | 268 | int i; |
269 | u32 config_data = 0; | 269 | u32 config_data = 0; |
@@ -342,7 +342,7 @@ static void ich7_lpc_cleanup(struct device *dev) | |||
342 | * so we can retrive the required operational information and prepare the GPIO. | 342 | * so we can retrive the required operational information and prepare the GPIO. |
343 | */ | 343 | */ |
344 | static struct pci_dev *nas_gpio_pci_dev; | 344 | static struct pci_dev *nas_gpio_pci_dev; |
345 | static int __devinit ich7_lpc_probe(struct pci_dev *dev, | 345 | static int ich7_lpc_probe(struct pci_dev *dev, |
346 | const struct pci_device_id *id) | 346 | const struct pci_device_id *id) |
347 | { | 347 | { |
348 | int status; | 348 | int status; |
diff --git a/drivers/leds/leds-sunfire.c b/drivers/leds/leds-sunfire.c index 134d9a4b34f1..07ff5a3a6cee 100644 --- a/drivers/leds/leds-sunfire.c +++ b/drivers/leds/leds-sunfire.c | |||
@@ -123,7 +123,7 @@ struct sunfire_drvdata { | |||
123 | struct sunfire_led leds[NUM_LEDS_PER_BOARD]; | 123 | struct sunfire_led leds[NUM_LEDS_PER_BOARD]; |
124 | }; | 124 | }; |
125 | 125 | ||
126 | static int __devinit sunfire_led_generic_probe(struct platform_device *pdev, | 126 | static int sunfire_led_generic_probe(struct platform_device *pdev, |
127 | struct led_type *types) | 127 | struct led_type *types) |
128 | { | 128 | { |
129 | struct sunfire_drvdata *p; | 129 | struct sunfire_drvdata *p; |
@@ -165,7 +165,7 @@ static int __devinit 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; |
@@ -192,7 +192,7 @@ static struct led_type clockboard_led_types[NUM_LEDS_PER_BOARD] = { | |||
192 | }, | 192 | }, |
193 | }; | 193 | }; |
194 | 194 | ||
195 | static int __devinit sunfire_clockboard_led_probe(struct platform_device *pdev) | 195 | static int sunfire_clockboard_led_probe(struct platform_device *pdev) |
196 | { | 196 | { |
197 | return sunfire_led_generic_probe(pdev, clockboard_led_types); | 197 | return sunfire_led_generic_probe(pdev, clockboard_led_types); |
198 | } | 198 | } |
@@ -213,7 +213,7 @@ static struct led_type fhc_led_types[NUM_LEDS_PER_BOARD] = { | |||
213 | }, | 213 | }, |
214 | }; | 214 | }; |
215 | 215 | ||
216 | static int __devinit sunfire_fhc_led_probe(struct platform_device *pdev) | 216 | static int sunfire_fhc_led_probe(struct platform_device *pdev) |
217 | { | 217 | { |
218 | return sunfire_led_generic_probe(pdev, fhc_led_types); | 218 | return sunfire_led_generic_probe(pdev, fhc_led_types); |
219 | } | 219 | } |
@@ -223,7 +223,7 @@ MODULE_ALIAS("platform:sunfire-fhc-leds"); | |||
223 | 223 | ||
224 | static struct platform_driver sunfire_clockboard_led_driver = { | 224 | static 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 | ||
233 | static struct platform_driver sunfire_fhc_led_driver = { | 233 | static 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..b26a63bae16b 100644 --- a/drivers/leds/leds-tca6507.c +++ b/drivers/leds/leds-tca6507.c | |||
@@ -667,7 +667,7 @@ static void tca6507_remove_gpio(struct tca6507_chip *tca) | |||
667 | } | 667 | } |
668 | #endif /* CONFIG_GPIOLIB */ | 668 | #endif /* CONFIG_GPIOLIB */ |
669 | 669 | ||
670 | static int __devinit tca6507_probe(struct i2c_client *client, | 670 | static int tca6507_probe(struct i2c_client *client, |
671 | const struct i2c_device_id *id) | 671 | const struct i2c_device_id *id) |
672 | { | 672 | { |
673 | struct tca6507_chip *tca; | 673 | struct tca6507_chip *tca; |
@@ -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); |
@@ -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 | ||