On Fri, Jun 02, 2017 at 09:28:46AM +0200, Jan Kiszka 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 <[email protected]>
> Reviewed-by: Andy Shevchenko <[email protected]>
> Acked-by: Linus Walleij <[email protected]>

Acked-by: Greg Kroah-Hartman <[email protected]>

Reply via email to