net: phy: marvell: Call phy_reset() where possible
authorStefan Roese <sr@denx.de>
Wed, 10 Feb 2016 06:06:05 +0000 (07:06 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 18 Feb 2016 17:32:00 +0000 (11:32 -0600)
commit3089c47ddc0ed7f5ca8a7aed9a6cddef5223cdf0
tree0360108a641c628def79f250adc163bc7da3d5b5
parent727a25b2418031e1b94ba603e0eb61657024091b
net: phy: marvell: Call phy_reset() where possible

Instead of coding the soft PHY reset function multiple times in marvell.c,
lets call the common phy_reset() function from phy.c.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Hao Zhang <hzhang@ti.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Andy Fleming <afleming@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/marvell.c