summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-lpc32xx.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-10-14 17:13:23 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2021-02-15 13:43:32 +0300
commit5a2a46ae4b26501aab068a9a94dc581af040c7ed (patch)
tree99b1734e2f82e8dcaf6bd7e987b8992d0700a5f9 /drivers/gpio/gpio-lpc32xx.c
parent9fe5fcd640359c113060676174039b8940f588e1 (diff)
downloadlinux-5a2a46ae4b26501aab068a9a94dc581af040c7ed.tar.xz
gpio: wcove: Split out to_ireg() helper and deduplicate the code
There are a few places in the code where IRQ status and mask register values are being updated. Use a new exctracted helper to deduplicate the code. While at it, get rid of unnecessary divisions. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-lpc32xx.c')
0 files changed, 0 insertions, 0 deletions