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 12:34:57 -0800 |
commit | 98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7 (patch) | |
tree | 998114c044f2d252299b8ae27cad03e111c64eb0 /drivers/leds/leds-lp8788.c | |
parent | df07cf81268192e42c4cdf91f5f4bf9aaac1b2f0 (diff) | |
download | kernel-common-98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7.tar.gz kernel-common-98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7.tar.bz2 kernel-common-98ea1ea20cb7090d5ae2003c23fc8a7f14fca4c7.zip |
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-lp8788.c')
-rw-r--r-- | drivers/leds/leds-lp8788.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-lp8788.c b/drivers/leds/leds-lp8788.c index fbcfc1b821f8..27831ffe3953 100644 --- a/drivers/leds/leds-lp8788.c +++ b/drivers/leds/leds-lp8788.c @@ -125,7 +125,7 @@ static void lp8788_brightness_set(struct led_classdev *led_cdev, schedule_work(&led->work); } -static __devinit int lp8788_led_probe(struct platform_device *pdev) +static int lp8788_led_probe(struct platform_device *pdev) { struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); struct lp8788_led_platform_data *led_pdata; |