From: Thomas Gleixner Date: Fri, 29 Jan 2010 20:39:02 +0000 (+0000) Subject: drivers/base: Convert dev->sem to mutex X-Git-Tag: v2.6.35-rc1~459^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3142788b7967ccfd2f1813ee9e11aeb1e1cf7de2;p=pandora-kernel.git drivers/base: Convert dev->sem to mutex The semaphore is semantically a mutex. Convert it to a real mutex and fix up a few places where code was relying on semaphore.h to be included by device.h, as well as the users of the trylock function, as that value is now reversed. Signed-off-by: Thomas Gleixner Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed