commit | 39b4b06b8b20ae011373bae5f9552cce17c47f64 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Tue Dec 08 00:40:57 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 08 21:55:05 2015 -0500 |
tree | 9d70e499e0295581b0b0ad09ea18028394dc859b | |
parent | 3242e2b46d297e48846022694502d9023c22f6c1 [diff] |
sh_eth: factor out common code from MDIO bitbang methods sh_mm[cd]_ctrl() and sh_set_mdio() all look mostly the same -- factor out their common code and put it into sh_mdio_ctrl(). Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Acked-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>