[PATCH] fix up newly added jsm driver
authorChristoph Hellwig <hch@lst.de>
Sat, 16 Apr 2005 22:25:44 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:25:44 +0000 (15:25 -0700)
commit614a7d6a76b7fb37bb399047eb3ccf86cafbf60d
treee7e85414691ef0f85509f1084c0cecc99f588418
parenta299738283a654544c75167d190d9e87b77e5fb7
[PATCH] fix up newly added jsm driver

 - plug various leaks and use after frees in the remove and
   initialization failure path (some still left)
 - remove useless global list of boards and use pci_set_drvdata instead
 - unobsfucate init path by merging functions together
 - kill various totally useless state variables
 - .. probably more I forgot

Note that the tty part still generates lots of sparse warnings and there's
still a totally useless layer of function pointer indirections, but maybe
someone else will fix that bit up.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/jsm/jsm.h
drivers/serial/jsm/jsm_driver.c
drivers/serial/jsm/jsm_tty.c