diff options
author | NeilBrown <neil@brown.name> | 2015-04-16 10:03:04 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-06-01 12:38:24 +0200 |
commit | 186ecebeb60d5271c519450d71026901d9741714 (patch) | |
tree | a54a3e4d44af6b6a87fff530674d5e8ccbc21a95 /Documentation | |
parent | phy: twl4030-usb: make runtime pm more reliable. (diff) | |
download | linux-186ecebeb60d5271c519450d71026901d9741714.tar.xz linux-186ecebeb60d5271c519450d71026901d9741714.zip |
phy: twl4030-usb: remove pointless 'suspended' test in 'suspend' callback.
When the runtime_suspend callback is running, 'runtime_status'
is always RPM_SUSPENDING, so pm_runtime_suspended() will always
fail.
Similarly while the runtime_resume callback is running
'runtime_status' is RPM_RESUMING, so pm_runtime_active() will
always fail.
So remove these two pointless tests.
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions