]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0549510dc8cf98593e7017dbf9e607882625b74
tree348938e5201f0ed3db9aef6fc897997be96c95f6
parent523fa836b24ef5c9379f56be2e23d592d3d0fca6
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