From: Jingoo Han Date: Mon, 29 Apr 2013 23:17:27 +0000 (-0700) Subject: drivers/video/backlight/ep93xx_bl.c: remove incorrect __init annotation X-Git-Tag: v3.10-rc1~178^2~270 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cb1fbb8882cb657b4dee73bc7223e6213dc2197f;p=karo-tx-linux.git drivers/video/backlight/ep93xx_bl.c: remove incorrect __init annotation When platform_driver_probe() is not used, bind/unbind via sysfs is enabled. Thus, __init/__exit annotations should be removed from probe()/remove(). Signed-off-by: Jingoo Han Acked-by: Ryan Mallon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/backlight/ep93xx_bl.c b/drivers/video/backlight/ep93xx_bl.c index ef3e21e8f825..fd073b277e48 100644 --- a/drivers/video/backlight/ep93xx_bl.c +++ b/drivers/video/backlight/ep93xx_bl.c @@ -60,7 +60,7 @@ static const struct backlight_ops ep93xxbl_ops = { .get_brightness = ep93xxbl_get_brightness, }; -static int __init ep93xxbl_probe(struct platform_device *dev) +static int ep93xxbl_probe(struct platform_device *dev) { struct ep93xxbl *ep93xxbl; struct backlight_device *bl;