diff options
author | Felipe Balbi <balbi@ti.com> | 2014-10-14 14:28:53 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-10-22 04:07:07 -0400 |
commit | b1836719cafe018601642f26c2b7b406bde2e4cf (patch) | |
tree | c98eb4675614b27382a247a97e1f86b77b9e8dc8 | |
parent | 422ccbd57170d18cfd9d4c0cdbdd4603929fc51b (diff) |
OMAPFB: remove __exit annotation
If we leave __exit annotation, driver can't be unbound
through sysfs.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: | |||
2619 | return r; | 2619 | return r; |
2620 | } | 2620 | } |
2621 | 2621 | ||
2622 | static int __exit omapfb_remove(struct platform_device *pdev) | 2622 | static int omapfb_remove(struct platform_device *pdev) |
2623 | { | 2623 | { |
2624 | struct omapfb2_device *fbdev = platform_get_drvdata(pdev); | 2624 | struct omapfb2_device *fbdev = platform_get_drvdata(pdev); |
2625 | 2625 | ||
@@ -2636,7 +2636,7 @@ static int __exit omapfb_remove(struct platform_device *pdev) | |||
2636 | 2636 | ||
2637 | static struct platform_driver omapfb_driver = { | 2637 | static struct platform_driver omapfb_driver = { |
2638 | .probe = omapfb_probe, | 2638 | .probe = omapfb_probe, |
2639 | .remove = __exit_p(omapfb_remove), | 2639 | .remove = omapfb_remove, |
2640 | .driver = { | 2640 | .driver = { |
2641 | .name = "omapfb", | 2641 | .name = "omapfb", |
2642 | .owner = THIS_MODULE, | 2642 | .owner = THIS_MODULE, |