summaryrefslogtreecommitdiff
path: root/tools/nfsd
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-18 09:51:01 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-08-03 01:25:25 +0300
commit7bdbd1eccc9fb3875f33af1a2257001128824e81 (patch)
tree939dc5de5c863d10210f193b8b1bbe7c3d90df1a /tools/nfsd
parentbd4bd337039df9d5c6a3c11c439511fd99e11f52 (diff)
downloadlinux-7bdbd1eccc9fb3875f33af1a2257001128824e81.tar.xz
gpio: refactor gpiochip_allocate_mask() with bitmap_alloc()
Refactor gpiochip_allocate_mask() slightly by using bitmap_alloc(). I used bitmap_free() for the corresponding free parts. Actually, bitmap_free() is a wrapper of kfree(), but I did this for consistency. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Link: https://lore.kernel.org/r/20190718065101.26994-1-yamada.masahiro@socionext.com Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/nfsd')
0 files changed, 0 insertions, 0 deletions