]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpc5200: Refactor FEC mdio read/write routines
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 15 Oct 2008 17:10:00 +0000 (11:10 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 15 Oct 2008 17:10:00 +0000 (11:10 -0600)
commit7aee6dacd103c541acc615b4b6fb3b8c4b8190f0
treedcc365ac0ce21d1f86f049a4dd66bee16a174aad
parent5ae8894e2b147aa0f2dea76ca800e755bda8fcde
powerpc/mpc5200: Refactor FEC mdio read/write routines

Read & write functions now call a generic transfer function, so identical
code in both routines could be eliminated. The result is easier to maintain
and smaller in source and binary code. Also, fix some checkpatch warnings.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/net/fec_mpc52xx_phy.c