提交 b1836719 编写于 作者: F Felipe Balbi 提交者: Tomi Valkeinen

OMAPFB: remove __exit annotation

If we leave __exit annotation, driver can't be unbound
through sysfs.
Signed-off-by: NFelipe Balbi <balbi@ti.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 422ccbd5
...@@ -2619,7 +2619,7 @@ static int omapfb_probe(struct platform_device *pdev) ...@@ -2619,7 +2619,7 @@ static int omapfb_probe(struct platform_device *pdev)
return r; return r;
} }
static int __exit omapfb_remove(struct platform_device *pdev) static int omapfb_remove(struct platform_device *pdev)
{ {
struct omapfb2_device *fbdev = platform_get_drvdata(pdev); struct omapfb2_device *fbdev = platform_get_drvdata(pdev);
...@@ -2636,7 +2636,7 @@ static int __exit omapfb_remove(struct platform_device *pdev) ...@@ -2636,7 +2636,7 @@ static int __exit omapfb_remove(struct platform_device *pdev)
static struct platform_driver omapfb_driver = { static struct platform_driver omapfb_driver = {
.probe = omapfb_probe, .probe = omapfb_probe,
.remove = __exit_p(omapfb_remove), .remove = omapfb_remove,
.driver = { .driver = {
.name = "omapfb", .name = "omapfb",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册