• Dominik Brodowski's avatar
    pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (char) · cbf624f0
    Dominik Brodowski authored
    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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    cbf624f0
cm4040_cs.c 16.7 KB