Re: [PATCH v3 3/8] phy: sunxi: Rework phy initialization

2014-05-12 Thread Hans de Goede
Hi, On 05/12/2014 09:34 PM, Maxime Ripard wrote: > 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 > --- > d

[PATCH v3 3/8] phy: sunxi: Rework phy initialization

2014-05-12 Thread Maxime Ripard
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 --- drivers/phy/phy-sun4i-usb.c | 44 ---