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)
commit51d9861e9e09c5c0066e5e5d9bb0009be1957899
treedcc365ac0ce21d1f86f049a4dd66bee16a174aad
parent9629095761b64636356c132f0228ed780ebb97e8
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