ledtrig-netdev: switch rwlock to spinlock
authorRafał Miłecki <zajec5@gmail.com>
Wed, 23 Dec 2015 15:45:36 +0000 (15:45 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Wed, 23 Dec 2015 15:45:36 +0000 (15:45 +0000)
commita56aaf73b960c6735622a9f402d17d0c6b5a02ed
treee5622f34a1500a97df3b4f3789dfb8d04aae9612
parente8c6d01d74de32959d194bdb872fcb42b5b54094
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>
SVN-Revision: 47986
target/linux/generic/files/drivers/leds/ledtrig-netdev.c