Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,