b43legacy: Remove the PHY spinlock
authorMichael Buesch <mb@bu3sch.de>
Wed, 9 Jan 2008 19:15:31 +0000 (20:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:42 +0000 (15:10 -0800)
commitbfe6a50156ab0c33729378fae7038bce3c6c5184
tree4d29fdaa77eef7772eadab31033227e49e67c911
parenta8bdf29c6cd117644d27677962fe832b33036c77
b43legacy: Remove the PHY spinlock

This fixes a sparse warning about weird locking.
The spinlock is not needed, so simply remove it.
This also adds some sanity checks to the PHY and radio locking
to protect against recursive locking.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43legacy/b43legacy.h
drivers/net/wireless/b43legacy/main.c
drivers/net/wireless/b43legacy/phy.c
drivers/net/wireless/b43legacy/phy.h
drivers/net/wireless/b43legacy/radio.c