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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
df07cf8126
commit
98ea1ea20c
@@ -37,7 +37,7 @@ static struct led_classdev rb532_uled = {
|
||||
.default_trigger = "nand-disk",
|
||||
};
|
||||
|
||||
static int __devinit rb532_led_probe(struct platform_device *pdev)
|
||||
static int rb532_led_probe(struct platform_device *pdev)
|
||||
{
|
||||
return led_classdev_register(&pdev->dev, &rb532_uled);
|
||||
}
|
||||
|
Reference in New Issue
Block a user