]> asedeno.scripts.mit.edu Git - linux.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)
commit53798328ce682c038a7cc3960f6f63531e6a26db
tree29b78784435d3680d8f7309633a2d5802bfe9af4
parent975b388c912e62288c78bffdf4b2bf5fa21ee725
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