Searched hist:"36 fb7218" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpio/ |
H A D | gpio-exar.c | 36fb7218 Mon Sep 28 10:00:26 CDT 2020 Bartosz Golaszewski <bgolaszewski@baylibre.com> 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>
|
H A D | Kconfig | 36fb7218 Mon Sep 28 10:00:26 CDT 2020 Bartosz Golaszewski <bgolaszewski@baylibre.com> 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>
|