[PATCH] Toshiba driver cleanup
authorDmitry Torokhov <dtor_core@ameritech.net>
Sat, 25 Jun 2005 21:54:22 +0000 (14:54 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:24 +0000 (16:24 -0700)
commit3f5f7e2eeb539da95157d7fa8c94fb2f3284b9cc
treec3a454e0660ca8b3a2b30a7d1aa1c026ef7242c8
parent5cdb7b48d0d5963e40bb6621bfa7b2d5fddc4562
[PATCH] Toshiba driver cleanup

Toshiba legacy driver cleanup:
 - use module_init/module_exit for initialization instead of using
   #ifdef MODULE and calling tosh_init manually from drivers/char/misc.c
 - do not explicitly initialize static variables
 - some whitespace and formatting cleanups

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/misc.c
drivers/char/toshiba.c