summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-04-29 16:17:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 18:28:14 -0700
commitcb1fbb8882cb657b4dee73bc7223e6213dc2197f (patch)
tree9604a22e61a1c9b1981bc2046b69acc8f1d22bf2 /drivers
parent1d80d0fdf7e13f5f1f769f5279803c887be07693 (diff)
downloadlinux-cb1fbb8882cb657b4dee73bc7223e6213dc2197f.tar.bz2
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 <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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/backlight/ep93xx_bl.c2
1 files changed, 1 insertions, 1 deletions
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;