]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/amifb.c cleanups
authorAdrian Bunk <bunk@kernel.org>
Thu, 24 Jul 2008 04:31:43 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:40 +0000 (10:47 -0700)
commit62e850739b7488aeaaf5246dffc28e3e77a0b7e8
tree4324fefe1bcf1447ca666abc95f87ef23e8fd1fe
parent24102ac89ddcb9739ddf8f4a9659f24726f7e4e7
drivers/video/amifb.c cleanups

This patch contains the following cleanups:
- make the needlessly global amifb_init() static
- rename cleanup_module() to amifb_exit(),
  make it static __exit,
  use module_exit(),
  there's no need to #ifdef MODULE it

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/amifb.c