PM / Runtime: Fix lockdep warning in __pm_runtime_set_status()
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 3 Dec 2009 19:21:21 +0000 (20:21 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 6 Dec 2009 15:17:56 +0000 (16:17 +0100)
commitbab636b921017f0db6e0c2979438f50b898a9808
treec220981cad0f886c0a7e34f54735e7bf384ff462
parent66d0ae4d6ffa45b8e6d8bdbf85f8f1b285c8152d
PM / Runtime: Fix lockdep warning in __pm_runtime_set_status()

Lockdep complains about taking the parent lock in
__pm_runtime_set_status(), so mark it as nested.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reported-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable@kernel.org
drivers/base/power/runtime.c