]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
irda: Semaphore cleanup
authorThomas Gleixner <tglx@linutronix.de>
Tue, 7 Sep 2010 14:32:30 +0000 (14:32 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Oct 2010 15:36:09 +0000 (17:36 +0200)
commitdb7f859ec53c0bfaf3520afe2feafd18a27e48fb
tree53f41e128c02fb33f345b4955e5037932c37849a
parentd1985508320ad40a68375bdbafa8a5d6c56d2114
irda: Semaphore cleanup

Get rid of init_MUTEX[_LOCKED]() and use sema_init() instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
Acked-by: "David S. Miller" <davem@davemloft.net>
LKML-Reference: <20100907125055.651362456@linutronix.de>
drivers/net/irda/sir_dev.c