diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-10-24 09:47:29 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-09 02:29:48 -0500 |
commit | cbf624f0e18c4a05219855663a3e5f9fe8f2d876 (patch) | |
tree | 8aac18761959b45a29faaca79926966b46ac57d1 /drivers/char/snsc.h | |
parent | 9ac3e58ceff0b7b8b981c09c38a28742270eea12 (diff) |
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 <laforge@gnumonks.org>
CC: Jiri Kosina <jkosina@suse.cz>
CC: David Sterba <dsterba@suse.cz>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/char/snsc.h')
0 files changed, 0 insertions, 0 deletions