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

From: Linus Walleij
Date: Mon May 29 2017 - 08:31:39 EST


On Fri, May 26, 2017 at 6:02 PM, 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>

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

Yours,
Linus Walleij