usb: phy: ab8500-usb: split ab8500_usb_phy_ctrl
authorFabio Baltieri <fabio.baltieri@linaro.org>
Wed, 3 Apr 2013 08:45:07 +0000 (10:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 3 Apr 2013 09:01:45 +0000 (12:01 +0300)
commitc0ea70646ad66a83f09562621babae4700c2f322
tree986730190bc608a6f9f04ebdf9a20ab8b1911f97
parente65b36c02613764aa703ef0be0a3c2c57ea91625
usb: phy: ab8500-usb: split ab8500_usb_phy_ctrl

Split ab8500_usb_phy_ctrl into separate enable/disable functions to make
the code more linear and readable.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-ab8500-usb.c