]> git.baikalelectronics.ru Git - kernel.git/commit
umc-bus.c: fix usage of device_trylock
authorClaudio Scordino <claudio@evidence.eu.com>
Tue, 9 Oct 2012 10:21:17 +0000 (12:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 18:39:31 +0000 (11:39 -0700)
commit6a872527ea3e25f0f5a4fbaa3515ad04ac575cf1
tree462b6e20c3c6a883f91b3a9ec87956e760933b17
parent1d4dc89c3139a1ead65be1e97c1cb93bdbdd8a41
umc-bus.c: fix usage of device_trylock

Fix usage of device_trylock. It has the same semantics of mutex_trylock, so it
returns 1 if the lock has been acquired successfully.

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Bruno Morelli <bruno@evidence.eu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uwb/umc-bus.c