]> git.karo-electronics.de Git - linux-beck.git/commit
phy: rockchip-usb: move per-phy init into a separate function
authorHeiko Stuebner <heiko@sntech.de>
Thu, 19 Nov 2015 21:22:24 +0000 (22:22 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Sun, 20 Dec 2015 09:51:38 +0000 (15:21 +0530)
commit97dd9101091bb13b1ca3fe42edacf2bd7cf10924
tree7ce25b08470f5dfc4acbb17c93fdf0ed7047939e
parent5fdbb97dec0ca6106c5595c2db667a7957ad8c0f
phy: rockchip-usb: move per-phy init into a separate function

This unclutters the loop in probe a lot and makes current (and future)
error handling easier to read.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-rockchip-usb.c