OSDN Git Service

usb: phy: twl4030-usb: Move code from twl4030_phy_power to the runtime PM calls
authorTony Lindgren <tony@atomide.com>
Wed, 27 Aug 2014 23:28:09 +0000 (16:28 -0700)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 24 Sep 2014 09:48:32 +0000 (15:18 +0530)
commitbad8e33582cb3ea5f3a7a3517ca48e0a03be11a3
tree2475e28d99397abb754c22dd9386d8192280caab
parent62dc5769bbd9f187e2e5df64f4e3b5affd48fe7b
usb: phy: twl4030-usb: Move code from twl4030_phy_power to the runtime PM calls

We don't need twl4030_phy_power() any longer now that we have
the runtime PM calls. Let's get rid of it as it's confusing.
No functional changes, just move the code and use res instead
of ret as we are not returning that value.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-twl4030-usb.c