diff options
author | Marek Vasut <marex@denx.de> | 2019-06-27 23:55:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-27 19:25:02 -0700 |
commit | ee353e4534435372f297c9f3e661f76d1e1f7b2b (patch) | |
tree | d153ca78c45647491c8f39c033b5866c94870831 /arch/powerpc | |
parent | 3371efbcd4af6531f73c13368349604d1488721e (diff) | |
download | linux-ee353e4534435372f297c9f3e661f76d1e1f7b2b.tar.bz2 |
net: dsa: microchip: Replace bit RMW with regmap
Regmap provides read-modify-write function to update bitfields in
registers. Replace ad-hoc read-modify-write with regmap_update_bits()
where applicable.
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>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions