pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (misc drivers)
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 24 Oct 2009 13:55:39 +0000 (15:55 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 9 Nov 2009 07:30:05 +0000 (08:30 +0100)
commit9b44de2015ff4a2ed1d56efedfcc72b917d356a6
tree63460e0cf95d4bbea0111d153247c3298ac4ff3d
parent7c5af6ffd69bb2bb3c86b374153627529d67598c
pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (misc drivers)

Convert PCMCIA drivers to use the dynamic debug infrastructure, instead of
requiring manual settings of PCMCIA_DEBUG.

Also, remove all usages of the CS_CHECK macro and replace them with proper
Linux style calling and return value checking. The extra error reporting may
be dropped, as the PCMCIA core already complains about any (non-driver-author)
errors.

CC: linux-mtd@lists.infradead.org
CC: linux-usb@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/mtd/maps/pcmciamtd.c
drivers/parport/parport_cs.c
drivers/telephony/ixj_pcmcia.c
drivers/usb/host/sl811_cs.c