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>
This commit is contained in:
@@ -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" },
|
||||
|
Reference in New Issue
Block a user