pcmcia: deprecate CS_NO_CARD
It means that no card can be detected in the socket, so return -ENODEV Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
@@ -83,7 +83,7 @@ static const lookup_t error_table[] = {
|
||||
{ CS_BAD_SIZE, "Bad size" },
|
||||
{ CS_BAD_TYPE, "Bad type" },
|
||||
{ -EIO, "Input/Output error" },
|
||||
{ CS_NO_CARD, "No card present" },
|
||||
{ -ENODEV, "No card present" },
|
||||
{ -EINVAL, "Bad parameter" },
|
||||
{ CS_GENERAL_FAILURE, "General failure" },
|
||||
{ CS_BAD_ARGS, "Bad arguments" },
|
||||
|
Reference in New Issue
Block a user