Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment