phy: sunxi: Rework phy initialization
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 13 May 2014 15:44:17 +0000 (17:44 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 14 May 2014 14:11:13 +0000 (19:41 +0530)
Move the phy initialization and variables declaration to the loop itself, since
it is where it really belongs. Also remove all the temporary variables, we can
use the structure members directly.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-sun4i-usb.c

Simple merge