pinctrl: microchip-sgpio: use regmap_update_bits()
authorMichael Walle <michael@walle.cc>
Sat, 26 Feb 2022 20:45:05 +0000 (21:45 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Mar 2022 00:55:58 +0000 (01:55 +0100)
commit0e68328edb3227cd00681671843c3d4113083456
tree348938e5201f0ed3db9aef6fc897997be96c95f6
parentcd8c48b4efcfb2e71ef8a5d2208a0db5002b78bf
pinctrl: microchip-sgpio: use regmap_update_bits()

Convert sgpio_clrsetbits() to use regmap_update_bits() and drop the
spinlocks because regmap already takes care of the locking.

Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20220226204507.2511633-4-michael@walle.cc
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-microchip-sgpio.c