pcmcia: simplify event callback
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 11 Jul 2010 08:04:59 +0000 (10:04 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Fri, 30 Jul 2010 19:07:32 +0000 (21:07 +0200)
commit216d7cdd3b060518a2d4faf584eb15ef5af862b6
tree5ab7b1de96ee277f5b1932ba192e9c80fd2418a7
parent5716d415f8c5a17d44f6e1d5a1e4998f7306a93b
pcmcia: simplify event callback

The event callback for handling 16bit PCMCIA cards only needs to be
informed about a few events. Furthermore, send_event may already
only be called with skt->skt_mutex held, which also protects against
the module being removed behind the callback's back.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cs.c
drivers/pcmcia/ds.c