From: Lars-Peter Clausen Date: Tue, 3 Jan 2012 13:59:40 +0000 (+0100) Subject: staging:iio:events: Use waitqueue lock to protect event queue X-Git-Tag: v3.4-rc1~186^2~176^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43ba1100af11f34cc67bdf6b359667cfa851e6a8;p=pandora-kernel.git staging:iio:events: Use waitqueue lock to protect event queue Use the waitqueue lock to protect the event queue instead of a custom mutex. This has the advantage that we can call the waitqueue operations with the lock held, which simplifies the code flow a bit. Signed-off-by: Lars-Peter Clausen Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed