PM / OPP: add some lockdep annotations
authorDmitry Torokhov <dtor@chromium.org>
Tue, 16 Dec 2014 23:09:36 +0000 (15:09 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 18 Dec 2014 00:42:49 +0000 (01:42 +0100)
commitb02ded246d011d0eb22efc178ee711b636214083
treee4a2a633d246649a21e5813af9793686730275f6
parent6ce4184d0308888dd6ac2b6ab5f8ec0b2006092e
PM / OPP: add some lockdep annotations

Certain OPP APIs need to be called under RCU lock; let's add a few
rcu_lockdep_assert() calls to warn about potential misuse.

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp.c