Re: [PATCH] gpio: refactor gpiochip_allocate_mask() with bitmap_alloc()

From: Linus Walleij
Date: Fri Aug 02 2019 - 18:26:44 EST


On Thu, Jul 18, 2019 at 8:51 AM Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:

> 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@xxxxxxxxxxxxx>

Patch applied with Stephen's ACK.

Yours,
Linus Walleij