diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-10-24 09:50:13 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-09 02:29:59 -0500 |
commit | e773cfe167c320d07b9423bc51fc4ab0221775a4 (patch) | |
tree | e27b0b26b2c55c629100edaa73c7429ed7d41ee9 /drivers/isdn/hardware | |
parent | cbf624f0e18c4a05219855663a3e5f9fe8f2d876 (diff) |
pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (isdn)
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: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/isdn/hardware')
-rw-r--r-- | drivers/isdn/hardware/avm/avm_cs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/isdn/hardware/avm/avm_cs.c b/drivers/isdn/hardware/avm/avm_cs.c index c72565520e41..d388eadb9fdb 100644 --- a/drivers/isdn/hardware/avm/avm_cs.c +++ b/drivers/isdn/hardware/avm/avm_cs.c | |||
@@ -198,7 +198,6 @@ static int avmcs_config(struct pcmcia_device *link) | |||
198 | */ | 198 | */ |
199 | i = pcmcia_request_irq(link, &link->irq); | 199 | i = pcmcia_request_irq(link, &link->irq); |
200 | if (i != 0) { | 200 | if (i != 0) { |
201 | cs_error(link, RequestIRQ, i); | ||
202 | /* undo */ | 201 | /* undo */ |
203 | pcmcia_disable_device(link); | 202 | pcmcia_disable_device(link); |
204 | break; | 203 | break; |
@@ -209,7 +208,6 @@ static int avmcs_config(struct pcmcia_device *link) | |||
209 | */ | 208 | */ |
210 | i = pcmcia_request_configuration(link, &link->conf); | 209 | i = pcmcia_request_configuration(link, &link->conf); |
211 | if (i != 0) { | 210 | if (i != 0) { |
212 | cs_error(link, RequestConfiguration, i); | ||
213 | pcmcia_disable_device(link); | 211 | pcmcia_disable_device(link); |
214 | break; | 212 | break; |
215 | } | 213 | } |