OSDN Git Service

net: mdio: mscc-miim: convert to a regmap implementation
authorColin Foster <colin.foster@in-advantage.com>
Mon, 29 Nov 2021 01:57:35 +0000 (17:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2021 13:02:00 +0000 (13:02 +0000)
commita27a762828375a2b076de7ded5ce5830dec9f4c9
treea8ab5941d2f0cde7d90254a6c52ab16ff50fb9e2
parent77a31246836019c8de7d1a82636ca0020c4e96c6
net: mdio: mscc-miim: convert to a regmap implementation

Utilize regmap instead of __iomem to perform indirect mdio access. This
will allow for custom regmaps to be used by way of the mscc_miim_setup
function.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-mscc-miim.c