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-lt3593.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-lt3593.c')
-rw-r--r-- | drivers/leds/leds-lt3593.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-lt3593.c b/drivers/leds/leds-lt3593.c index 40657420cfc5..6487293a5e6d 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; |