pcmcia: deprecate CS_BAD_ARGS
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 3 Aug 2008 10:15:11 +0000 (12:15 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sat, 23 Aug 2008 00:29:57 +0000 (02:29 +0200)
commit926c5402c287f6d911f7d00f936f09ea00880527
tree82885b3dd11e486a47a1b84fe36ef214269f0f96
parent69ba44331e81e4a15b504175ec70b7b4b4e5a8b9
pcmcia: deprecate CS_BAD_ARGS

CS_BAD_ARGS mean a badly written driver or invalid userspace ioctl access,
so translate that to -EINVAL.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/ds.c
drivers/pcmcia/pcmcia_ioctl.c
drivers/pcmcia/pcmcia_resource.c
include/pcmcia/cs.h