aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-netxbig.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-netxbig.c')
-rw-r--r--drivers/leds/leds-netxbig.c10
1 files changed, 5 insertions, 5 deletions
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
74static int __devinit gpio_ext_init(struct netxbig_gpio_ext *gpio_ext) 74static 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
304static int __devinit 304static int
305create_netxbig_led(struct platform_device *pdev, 305create_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
355static int __devinit netxbig_led_probe(struct platform_device *pdev) 355static 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
392static int __devexit netxbig_led_remove(struct platform_device *pdev) 392static 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
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,