projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422ccbd
)
OMAPFB: remove __exit annotation
author
Felipe Balbi
<
[email protected]
>
Tue, 14 Oct 2014 18:28:53 +0000
(13:28 -0500)
committer
Tomi Valkeinen
<
[email protected]
>
Wed, 22 Oct 2014 08:07:07 +0000
(11:07 +0300)
If we leave __exit annotation, driver can't be unbound
through sysfs.
Signed-off-by: Felipe Balbi <
[email protected]
>
Signed-off-by: Tomi Valkeinen <
[email protected]
>
drivers/video/fbdev/omap2/omapfb/omapfb-main.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c
b/drivers/video/fbdev/omap2/omapfb/omapfb-main.c
index bdb88dec074431659ba87ab951880fe490e9ea3e..10207daf41fe781ffe908ab7ee4fa0d44a47b2c4 100644
(file)
--- 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,