]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit59120ffa17466094b1b2c7c5fb6f23a9c59ff65a
treede26deeaf5e99504b6fc46fda9efa7c515d910dd
parent3f7975b60f603055c8261aff39bb56389bb1903b
[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