summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2008-08-03 10:56:13 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2008-08-23 02:29:42 +0200
commitd8b0a49da4f213c637d458319432016f4ea5e12a (patch)
tree488b1c1e8796f11807aaf7c18f9c5332c01a8e1e /drivers/pcmcia/ds.c
parentde6405e9d1e7530ea33b62e1a3921338f836a046 (diff)
downloadblackbird-op-linux-d8b0a49da4f213c637d458319432016f4ea5e12a.tar.gz
blackbird-op-linux-d8b0a49da4f213c637d458319432016f4ea5e12a.zip
pcmcia: deprecate CS_BAD_VCC and CS_BAD_VPP
They were either used to report that changing voltage is not allowed, or that changing voltage failed. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r--drivers/pcmcia/ds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 4a658e2b6f21..f6ff1218b3f3 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -82,8 +82,7 @@ static const lookup_t error_table[] = {
{ CS_BAD_PAGE, "Bad page number" },
{ CS_BAD_SIZE, "Bad size" },
{ CS_BAD_TYPE, "Bad type" },
- { CS_BAD_VCC, "Bad Vcc" },
- { CS_BAD_VPP, "Bad Vpp" },
+ { -EIO, "Input/Output error" },
{ CS_NO_CARD, "No card present" },
{ -EINVAL, "Bad parameter" },
{ CS_GENERAL_FAILURE, "General failure" },
OpenPOWER on IntegriCloud