Skip to content
Snippets Groups Projects
Commit e2d40963 authored by Dominik Brodowski's avatar Dominik Brodowski
Browse files

[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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent f6fbe01a
No related branches found
No related tags found
No related merge requests found
Showing
with 81 additions and 230 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment