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-ns2.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-ns2.c')
-rw-r--r-- | drivers/leds/leds-ns2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-ns2.c b/drivers/leds/leds-ns2.c index 89c8b47b4794..f5d0df32ab83 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; |