]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/gpio/Kconfig
gpio: exar: switch to using regmap
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 28 Sep 2020 15:00:26 +0000 (17:00 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 25 Nov 2020 14:36:52 +0000 (15:36 +0100)
commit36fb7218e87833b17e3042e77f3b102c75129e8f
tree3cf78d811ad32988212b0436a12a7970b2603b7e
parent696868d0a79c211b51d0d0f7a1e6805e12d7fb42
gpio: exar: switch to using regmap

We can simplify the code in gpio-exar by using regmap. This allows us to
drop the mutex (regmap provides its own locking) and we can also reuse
regmap's bit operations instead of implementing our own update function.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/Kconfig
drivers/gpio/gpio-exar.c