Commit b1836719 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tomi Valkeinen

OMAPFB: remove __exit annotation

If we leave __exit annotation, driver can't be unbound
through sysfs.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 422ccbd5
......@@ -2619,7 +2619,7 @@ static int omapfb_probe(struct platform_device *pdev)
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);
......@@ -2636,7 +2636,7 @@ static int __exit omapfb_remove(struct platform_device *pdev)
static struct platform_driver omapfb_driver = {
.probe = omapfb_probe,
.remove = __exit_p(omapfb_remove),
.remove = omapfb_remove,
.driver = {
.name = "omapfb",
.owner = THIS_MODULE,
......
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