]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/video/backlight/ep93xx_bl.c: remove incorrect __init annotation
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:07:36 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:18 +0000 (15:33 +1100)
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 <jg1.han@samsung.com>
Acked-by: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/ep93xx_bl.c

index ef3e21e8f825ea2b4b63a5b747ca6f9084253aca..fd073b277e481a87312439079560c0d58a1cb4ad 100644 (file)
@@ -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;