Re: [PATCH v6 03/10] gpio: exar: Allocate resources on behalf of the platform device

From: Linus Walleij
Date: Tue Jun 20 2017 - 04:14:40 EST


On Fri, Jun 9, 2017 at 8:33 PM, Jan Kiszka <jan.kiszka@xxxxxxxxxxx> wrote:

> Do not allocate resources on behalf of the parent device but on our own.
> Otherwise, cleanup does not properly work if gpio-exar is removed but
> not the parent device.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij