summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-sodaville.c
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2018-03-23 09:34:50 -0700
committerLinus Walleij <linus.walleij@linaro.org>2018-03-27 15:34:07 +0200
commite4371f6e079294369ecb4cfa03aaeb60831e8b91 (patch)
tree8ee1a67f3f0f91859b1b9a5335ec5464fc71e59e /drivers/gpio/gpio-sodaville.c
parentb9c725ed73b7cecc7c9bc4b752ab3eb975ef9330 (diff)
downloadlinux-e4371f6e079294369ecb4cfa03aaeb60831e8b91.tar.gz
linux-e4371f6e079294369ecb4cfa03aaeb60831e8b91.tar.xz
gpiolib: Extract mask allocation into subroutine
We're going to use similar code to allocate and set all the bits in a mask for valid gpios to use. Extract the code from the irqchip version so it can be reused. Signed-off-by: Stephen Boyd <swboyd@chromium.org> Tested-by: Timur Tabi <timur@codeaurora.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-sodaville.c')
0 files changed, 0 insertions, 0 deletions