pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (misc drivers)
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-mtd@lists.infradead.org
CC: linux-usb@vger.kernel.org
Signed-off-by:
Dominik Brodowski <linux@dominikbrodowski.net>
Showing
- drivers/mtd/maps/pcmciamtd.c 2 additions, 12 deletionsdrivers/mtd/maps/pcmciamtd.c
- drivers/parport/parport_cs.c 13 additions, 24 deletionsdrivers/parport/parport_cs.c
- drivers/telephony/ixj_pcmcia.c 13 additions, 23 deletionsdrivers/telephony/ixj_pcmcia.c
- drivers/usb/host/sl811_cs.c 13 additions, 33 deletionsdrivers/usb/host/sl811_cs.c
Loading
Please register or sign in to comment