From: Dominik Brodowski Date: Sat, 24 Oct 2009 13:47:29 +0000 (+0200) Subject: pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (char) X-Git-Tag: v2.6.33-rc1~412^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbf624f0e18c4a05219855663a3e5f9fe8f2d876;p=pandora-kernel.git pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (char) Convert PCMCIA drivers to use the dynamic debug infrastructure, instead of requiring manual settings of PCMCIA_DEBUG. Only some rare extra debug checks in cm4000_cs.c cm4040_cs.c are now hidden behind a "#ifdef CM4000_DEBUG" or "#ifdef CM4040_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: Harald Welte CC: Jiri Kosina CC: David Sterba Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed