]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: helper to get and set page
authorAndrew Lunn <andrew@lunn.ch>
Thu, 25 May 2017 19:42:07 +0000 (21:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 18:44:50 +0000 (14:44 -0400)
commitdf65143b44d3ba4f5f642a4cf83f923d41ba704a
tree29b78784435d3680d8f7309633a2d5802bfe9af4
parent897d26b60dced14cf6905f8d83c8cd8cf5546bf8
net: phy: marvell: helper to get and set page

There is a common pattern of first reading the currently selected page
and then changing to another page. Add a helper to do this.

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