diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-03 06:10:53 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-08-22 20:29:56 -0400 |
commit | 69ba44331e81e4a15b504175ec70b7b4b4e5a8b9 (patch) | |
tree | cad7ae00519ff61d88f3766463c43119189d37b9 /drivers/pcmcia/ds.c | |
parent | 610e23749e87920136e1a221266a43cb7e3823f1 (diff) |
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 { | |||
75 | 75 | ||
76 | static const lookup_t error_table[] = { | 76 | static const lookup_t error_table[] = { |
77 | { 0, "Operation succeeded" }, | 77 | { 0, "Operation succeeded" }, |
78 | { CS_BAD_BASE, "Bad base address" }, | ||
79 | { CS_BAD_IRQ, "Bad IRQ" }, | ||
80 | { CS_BAD_OFFSET, "Bad offset" }, | ||
81 | { CS_BAD_SIZE, "Bad size" }, | ||
82 | { -EIO, "Input/Output error" }, | 78 | { -EIO, "Input/Output error" }, |
83 | { -ENODEV, "No card present" }, | 79 | { -ENODEV, "No card present" }, |
84 | { -EINVAL, "Bad parameter" }, | 80 | { -EINVAL, "Bad parameter" }, |