Re: [PATCH v5 03/11] gpio-exar/8250-exar: Fix passing in of parent PCI device

From: Linus Walleij
Date: Fri Jun 09 2017 - 03:21:55 EST


On Fri, Jun 2, 2017 at 9:28 AM, Jan Kiszka <jan.kiszka@xxxxxxxxxxx> wrote:

> This fixes reloading of the GPIO driver for the same platform device
> instance as created by the exar UART driver: First of all, the driver
> sets drvdata to its own value during probing and does not restore the
> original value on exit. But this won't help anyway as the core clears
> drvdata after the driver left.
>
> Set the platform device parent instead.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

If I get Gregs ACK on this I can merge patches 2-11 through the
GPIO tree.

Yours,
Linus Walleij