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>
This commit is contained in:
Родитель
1d80d0fdf7
Коммит
cb1fbb8882
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче