diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 12:10:53 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-23 02:29:56 +0200 |
commit | 69ba44331e81e4a15b504175ec70b7b4b4e5a8b9 (patch) | |
tree | cad7ae00519ff61d88f3766463c43119189d37b9 /drivers/pcmcia/ds.c | |
parent | 610e23749e87920136e1a221266a43cb7e3823f1 (diff) | |
download | blackbird-op-linux-69ba44331e81e4a15b504175ec70b7b4b4e5a8b9.tar.gz blackbird-op-linux-69ba44331e81e4a15b504175ec70b7b4b4e5a8b9.zip |
pcmcia: deprecate CS_BAD_BASE, CS_BAD_IRQ, CS_BAD_OFFSET and CS_BAD_SIZE
These four error values mostly mean a badly written driver, so ds_dbg()
output and -EINVAL seems to be enough.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r-- | drivers/pcmcia/ds.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c index 4092a5976e62..3ccf4091e877 100644 --- a/drivers/pcmcia/ds.c +++ b/drivers/pcmcia/ds.c @@ -75,10 +75,6 @@ typedef struct lookup_t { static const lookup_t error_table[] = { { 0, "Operation succeeded" }, - { CS_BAD_BASE, "Bad base address" }, - { CS_BAD_IRQ, "Bad IRQ" }, - { CS_BAD_OFFSET, "Bad offset" }, - { CS_BAD_SIZE, "Bad size" }, { -EIO, "Input/Output error" }, { -ENODEV, "No card present" }, { -EINVAL, "Bad parameter" }, |