pcmcia: simplify locking
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 16 Jan 2010 08:14:11 +0000 (09:14 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 17 Feb 2010 16:48:20 +0000 (17:48 +0100)
commit00ce99ff506a17882747a7d6874e3f5206a99043
tree571f5b106f25f35f326d456123c4af85147c3bce
parent3d3de32fad19e37695e6649136e4cb17f9d46329
pcmcia: simplify locking

replace pcmcia_socket->lock and pcmcia_dev_list_lock by using the
per-socket "ops_mutex", as we do neither need different locks
nor a spinlock here.

Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cs.c
drivers/pcmcia/cs_internal.h
drivers/pcmcia/ds.c
drivers/pcmcia/pcmcia_ioctl.c
drivers/pcmcia/rsrc_mgr.c
drivers/pcmcia/socket_sysfs.c
include/pcmcia/ss.h