cm4000_cs: fix error paths
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 9 May 2007 09:33:31 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:49 +0000 (12:30 -0700)
commit54493c10069741a02cd34c2b44a6bfdb85e7de6a
tree21c3d853bb7af8b7f5b1f77ebdab0e8922c3e49c
parent8813d1c00ca923c1683da625ff85959be1db9a49
cm4000_cs: fix error paths

This patch fixes error paths in module_init and probe functions in cm4000_cs
and cm4040_cs drivers.

Cc: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/pcmcia/cm4000_cs.c
drivers/char/pcmcia/cm4040_cs.c