diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:23:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 15:34:57 -0500 |
commit | 98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7 (patch) | |
tree | 998114c044f2d252299b8ae27cad03e111c64eb0 /drivers/leds/leds-lm3533.c | |
parent | df07cf81268192e42c4cdf91f5f4bf9aaac1b2f0 (diff) |
leds: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit 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>
Diffstat (limited to 'drivers/leds/leds-lm3533.c')
-rw-r--r-- | drivers/leds/leds-lm3533.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-lm3533.c b/drivers/leds/leds-lm3533.c index be246bf32e2d..7a60440c5806 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; |