net: dsa: mt7530: use regmap to access switch register space
authorDaniel Golle <daniel@makrotopia.org>
Mon, 3 Apr 2023 01:17:52 +0000 (02:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2023 09:13:00 +0000 (10:13 +0100)
commita08c045580e060a6886bbb656c50ae20b0c780b5
tree9494d536a61cf4dd1bd8b62e6daeb2ad07c24a4d
parent1bd099c49f65ed923b9f19b8c4b3cd1ff0024091
net: dsa: mt7530: use regmap to access switch register space

Use regmap API to access the switch register space.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h