]> git.baikalelectronics.ru Git - kernel.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)
commit16a3146fd799ab44ea463e9849a010187eebac9d
tree7ce25b08470f5dfc4acbb17c93fdf0ed7047939e
parent9141650c74122ca6ecadff7b571a9e01239bcc67
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