From: Andy Fleming Date: Fri, 11 Nov 2011 05:10:39 +0000 (+0000) Subject: fsl_pq_mdio: Clean up tbi address configuration X-Git-Tag: v3.2-rc6~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28d8ea2d568534026ccda3e8936f5ea1e04a86a1;p=pandora-kernel.git fsl_pq_mdio: Clean up tbi address configuration The code for setting the address of the internal TBI PHY was convoluted enough without a maze of ifdefs. Clean it up a bit so we allow the logic to fail down to -ENODEV at the end of the if/else ladder, rather than using ifdefs to repeat the same failure code over and over. Also, remove the support for the auto-configuration. I'm not aware of anyone using it, and it ends up using the bus mutex before it's been initialized. Signed-off-by: Andy Fleming Signed-off-by: David S. Miller --- Reading git-diff-tree failed