From: Konrad Rzeszutek Wilk Date: Wed, 3 Dec 2014 21:40:27 +0000 (-0500) Subject: driver core: Provide an wrapper around the mutex to do lockdep warnings X-Git-Tag: omap-for-v3.20/drop-legacy-3517~118^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac8010221d3fa8697151dfe9a1bb2c504adc68c1;p=pandora-kernel.git driver core: Provide an wrapper around the mutex to do lockdep warnings Instead of open-coding it in drivers that want to double check that their functions are indeed holding the device lock. Signed-off-by: Konrad Rzeszutek Wilk Suggested-by: David Vrabel Acked-by: Greg Kroah-Hartman Signed-off-by: David Vrabel --- Reading git-diff-tree failed