From: Felipe Balbi Date: Tue, 14 Oct 2014 18:28:53 +0000 (-0500) Subject: OMAPFB: remove __exit annotation X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b1836719cafe018601642f26c2b7b406bde2e4cf;p=deliverable%2Flinux.git OMAPFB: remove __exit annotation If we leave __exit annotation, driver can't be unbound through sysfs. Signed-off-by: Felipe Balbi Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c b/drivers/video/fbdev/omap2/omapfb/omapfb-main.c index bdb88dec0744..10207daf41fe 100644 --- a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c +++ b/drivers/video/fbdev/omap2/omapfb/omapfb-main.c @@ -2619,7 +2619,7 @@ err0: 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,