Commit 0f8afa7ca9117276e9519239ed0553be2f04d269
1 parent
dd4f99b42d
Exists in
master
and in
7 other branches
fb: hitfb: Balance probe/remove section annotations.
hitfb presently has probe using __init whilst remove uses __devexit. As this device can't possibly be hotplugged, switch to __exit and __exit_p() instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/video/hitfb.c
... | ... | @@ -403,7 +403,7 @@ |
403 | 403 | return 0; |
404 | 404 | } |
405 | 405 | |
406 | -static int __devexit hitfb_remove(struct platform_device *dev) | |
406 | +static int __exit hitfb_remove(struct platform_device *dev) | |
407 | 407 | { |
408 | 408 | return unregister_framebuffer(&fb_info); |
409 | 409 | } |
... | ... | @@ -439,7 +439,7 @@ |
439 | 439 | |
440 | 440 | static struct platform_driver hitfb_driver = { |
441 | 441 | .probe = hitfb_probe, |
442 | - .remove = __devexit_p(hitfb_remove), | |
442 | + .remove = __exit_p(hitfb_remove), | |
443 | 443 | #ifdef CONFIG_PM |
444 | 444 | .suspend = hitfb_suspend, |
445 | 445 | .resume = hitfb_resume, |