commit | 1c1eb5806a1128b186f6a272e468563b05c752c5 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Thu Jun 27 23:55:52 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 27 19:25:02 2019 -0700 |
tree | 975462d8d8c50e744f06427386f04d6fc8b91315 | |
parent | d7ee287827ef107420871651963770f8705cb56e [diff] |
net: dsa: microchip: Replace ad-hoc polling with regmap Regmap provides polling function to poll for bits in a register, use in instead of reimplementing it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: Tristram Ha <Tristram.Ha@microchip.com> Cc: Woojung Huh <Woojung.Huh@microchip.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>