From: Krzysztof Kozlowski Date: Fri, 9 Jan 2015 08:27:58 +0000 (+0100) Subject: PM / QoS: Use lockdep asserts to find missing hold of power.lock X-Git-Tag: fixes-v4.0-rc1~160^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f90b8ad83a6ae984edb6b489ed02e45dadfd263e;p=pandora-kernel.git PM / QoS: Use lockdep asserts to find missing hold of power.lock Add lockdep asserts for holding the dev->power.lock to non-static functions which require this. They could be used outside of the file so asserts may help in detecting locking misuse. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed