pcmcia: deprecate CS_BAD_TUPLE

CS_BAD_TUPLE was used to denote a bad tuple being passed to the parse
function. Therefore, replace it with -EINVAL and a verbose message.

Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
Dominik Brodowski 2008-08-03 12:22:40 +02:00
commit 3f9c5f4cb7
5 changed files with 99 additions and 56 deletions

View file

@ -319,7 +319,7 @@ typedef struct error_info_t {
#define CS_OUT_OF_RESOURCE -ENOMEM
#define CS_BAD_HANDLE -EINVAL
#define CS_BAD_TUPLE 0x40
#define CS_BAD_TUPLE -EINVAL
#ifdef __KERNEL__