commit | e2d4096365e06b9a3799afbadc28b4519c0b3526 | [log] [tgz] |
---|---|---|
author | Dominik Brodowski <linux@dominikbrodowski.net> | Thu Mar 02 00:09:29 2006 +0100 |
committer | Dominik Brodowski <linux@dominikbrodowski.net> | Fri Mar 31 17:26:33 2006 +0200 |
tree | 90ec691d71f9c0309048714e359b8ba351b533f7 | |
parent | f6fbe01ac976f3ec618cd5fb71ad9ce2cfa7ab2b [diff] |
[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 <linux@dominikbrodowski.net>