Commit cb1fbb88 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds

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: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarRyan Mallon <rmallon@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1d80d0fd
...@@ -60,7 +60,7 @@ static const struct backlight_ops ep93xxbl_ops = { ...@@ -60,7 +60,7 @@ static const struct backlight_ops ep93xxbl_ops = {
.get_brightness = ep93xxbl_get_brightness, .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 ep93xxbl *ep93xxbl;
struct backlight_device *bl; struct backlight_device *bl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment