]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
drivers/video/backlight/ep93xx_bl.c: remove incorrect __init annotation
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:17:27 +0000 (16:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:14 +0000 (18:28 -0700)
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>
Signed-off-by: Linus Torvalds <torvalds@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;