pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (serial_cs)
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 24 Oct 2009 13:54:46 +0000 (15:54 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 9 Nov 2009 07:30:04 +0000 (08:30 +0100)
commit9ec0bf41b5030ccc691049754ed1398cad5e953e
tree069a7aacbde6c31ecbfc5ff12648259ad429d623
parent3e7166178a83fef690dcbfcdaeda192f7282a9a4
pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (serial_cs)

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-serial@vger.kernel.org
CC: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/serial/serial_cs.c