]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: Use phy_read_paged() instead of open coding it
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Mon, 5 Oct 2020 09:19:50 +0000 (17:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2020 13:12:10 +0000 (06:12 -0700)
commitf75f0cb55ab52d5c09e498079c34ce64cf97beea
tree25023232ab887335cb1f1a9ed827e978ac2d4957
parent6e4cbb6620ae8ba7748553f8271a165ed1760d6e
net: phy: marvell: Use phy_read_paged() instead of open coding it

Convert m88e1318_get_wol() to use the well implemented phy_read_paged()
instead of open coding it.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Reviewed-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c