diff options
author | Stephen Boyd <swboyd@chromium.org> | 2018-03-23 19:34:50 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-27 16:34:07 +0300 |
commit | e4371f6e079294369ecb4cfa03aaeb60831e8b91 (patch) | |
tree | 8ee1a67f3f0f91859b1b9a5335ec5464fc71e59e /fs/ufs/util.c | |
parent | b9c725ed73b7cecc7c9bc4b752ab3eb975ef9330 (diff) | |
download | 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 'fs/ufs/util.c')
0 files changed, 0 insertions, 0 deletions