aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-mc13783.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-mc13783.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-mc13783.c')
-rw-r--r--drivers/leds/leds-mc13783.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c
index e760b0754ff1..39f72a7a1794 100644
--- a/drivers/leds/leds-mc13783.c
+++ b/drivers/leds/leds-mc13783.c
@@ -128,7 +128,7 @@ static void mc13783_led_set(struct led_classdev *led_cdev,
128 schedule_work(&led->work); 128 schedule_work(&led->work);
129} 129}
130 130
131static int __devinit mc13783_led_setup(struct mc13783_led *led, int max_current) 131static int mc13783_led_setup(struct mc13783_led *led, int max_current)
132{ 132{
133 int shift = 0; 133 int shift = 0;
134 int mask = 0; 134 int mask = 0;
@@ -181,7 +181,7 @@ static int __devinit mc13783_led_setup(struct mc13783_led *led, int max_current)
181 return ret; 181 return ret;
182} 182}
183 183
184static int __devinit mc13783_leds_prepare(struct platform_device *pdev) 184static int mc13783_leds_prepare(struct platform_device *pdev)
185{ 185{
186 struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); 186 struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev);
187 struct mc13xxx *dev = dev_get_drvdata(pdev->dev.parent); 187 struct mc13xxx *dev = dev_get_drvdata(pdev->dev.parent);
@@ -262,7 +262,7 @@ out:
262 return ret; 262 return ret;
263} 263}
264 264
265static int __devinit mc13783_led_probe(struct platform_device *pdev) 265static int mc13783_led_probe(struct platform_device *pdev)
266{ 266{
267 struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); 267 struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev);
268 struct mc13xxx_led_platform_data *led_cur; 268 struct mc13xxx_led_platform_data *led_cur;