ledtrig-netdev: switch rwlock to spinlock
authorRafał Miłecki <zajec5@gmail.com>
Wed, 23 Dec 2015 15:47:41 +0000 (15:47 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Wed, 23 Dec 2015 15:47:41 +0000 (15:47 +0000)
commit20a984555fb3765e1760e64d9b8e77936a40cb7c
treec0fec0564399d913d7229a6deafe7480f6e7ee91
parent453a8e58e217e4ef516691bc8b8296dedfeb8ea9
ledtrig-netdev: switch rwlock to spinlock

Read/write lock was adding useless complexity, there wasn't any real
gain in case of this driver.
Also switch to _bh variants to avoid deadlocks.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47986

SVN-Revision: 47989
target/linux/generic/files/drivers/leds/ledtrig-netdev.c