]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: Consolidate setting the phy-mode
authorAndrew Lunn <andrew@lunn.ch>
Sun, 30 Jul 2017 20:41:47 +0000 (22:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 01:00:23 +0000 (18:00 -0700)
commit68772c8042ca0ab3c95f5a32837ed5e4a4fa92a2
treed9e5587d00157c6da9c48d234c9507cea18731ea
parent41afdae2eec519a4df5d29080e87e3c003e9a232
net: phy: marvell: Consolidate setting the phy-mode

The same code is repeated a few times. Refactor into a helped.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c