net/fsl: remove hardcoded clock setting from xgmac_mdio
authorShaohui Xie <Shaohui.Xie@freescale.com>
Tue, 30 Dec 2014 08:28:21 +0000 (16:28 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jan 2015 20:39:49 +0000 (15:39 -0500)
There is no need to set the clock speed in read/write which will be performed
unnecessarily for each mdio access. Init it during probe is enough.

Also, the hardcoded clock value is not a proper way for all SoCs.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found