Re: [PATCH 2/2] gpio: max732x: use devm_gpiochip_add_data()

From: Linus Walleij
Date: Sat Jun 01 2019 - 13:49:07 EST


On Tue, May 21, 2019 at 11:03 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:

> From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> We can simplify the code a bit with a resource managed variant of
> gpiochip_add_data().
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij