[PATCH] pcmcia: remove unused p_dev->state flags

Remove the unused DEV_RELEASE_PENDING flag, and move the DEV_SUSPEND flag
into the p_dev structure, and make use of it at the core level.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

diff --git a/drivers/net/wireless/atmel_cs.c b/drivers/net/wireless/atmel_cs.c
index 962272c..d09b147 100644
--- a/drivers/net/wireless/atmel_cs.c
+++ b/drivers/net/wireless/atmel_cs.c
@@ -220,7 +220,7 @@
 static int card_present(void *arg)
 { 
 	struct pcmcia_device *link = (struct pcmcia_device *)arg;
-	if (link->state & DEV_SUSPEND)
+	if (link->suspended)
 		return 0;
 	else if (link->state & DEV_PRESENT)
 		return 1;