From: Maxime Ripard Date: Tue, 13 May 2014 15:44:17 +0000 (+0200) Subject: phy: sunxi: Rework phy initialization X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~181^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a7f9982d6c188052b85a6488c7008a45c4a062c;p=pandora-kernel.git phy: sunxi: Rework phy initialization 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 Reviewed-by: Hans de Goede Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed