]> bbs.cooldavid.org Git - net-next-2.6.git/commit
pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (ray-cs.c)
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 24 Oct 2009 13:52:44 +0000 (15:52 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 9 Nov 2009 07:30:01 +0000 (08:30 +0100)
commit624dd66957e53e15cf40e937b50597c4d41f0e99
tree0d91c1ed061ee98276550aeb36541ac611e28de2
parentdd0fab5b940c0b65f26ac5b01485bac1f690ace6
pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (ray-cs.c)

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-wireless@vger.kernel.org
CC: netdev@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/net/wireless/ray_cs.c