From: Dominik Brodowski Date: Wed, 1 Mar 2006 23:09:29 +0000 (+0100) Subject: [PATCH] pcmcia: use bitfield instead of p_state and state X-Git-Tag: v2.6.17-rc1~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2d4096365e06b9a3799afbadc28b4519c0b3526;p=pandora-kernel.git [PATCH] pcmcia: use bitfield instead of p_state and state Instead of the two status values struct pcmcia_device->p_state and state, use descriptive bitfields. Most value-checking in drivers was invalid, as the core now only calls the ->remove() (a.k.a. detach) function in case the attachement _and_ configuration was successful. Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed