aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-adp5520.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:23:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 15:34:57 -0500
commit98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7 (patch)
tree998114c044f2d252299b8ae27cad03e111c64eb0 /drivers/leds/leds-adp5520.c
parentdf07cf81268192e42c4cdf91f5f4bf9aaac1b2f0 (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-adp5520.c')
-rw-r--r--drivers/leds/leds-adp5520.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-adp5520.c b/drivers/leds/leds-adp5520.c
index e068802f5222..28c97667c079 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
88static int __devinit adp5520_led_prepare(struct platform_device *pdev) 88static 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
104static int __devinit adp5520_led_probe(struct platform_device *pdev) 104static 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;