mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-01-16 22:18:07 +00:00
e2d4096365
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>