diff options
author | Jan Kiszka <[email protected]> | 2017-06-09 20:33:10 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2017-06-20 10:12:39 +0200 |
commit | d3936d7437e388f3a91995e8f07fb82affff2f0d (patch) | |
tree | f3c602a660f26c421caddae687872d6df469380c /include/linux/fpga/fpga-mgr.h | |
parent | f6ac438e5e9d8052b07ebe43673b88f0496fed8d (diff) |
gpio-exar/8250-exar: Fix passing in of parent PCI device
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]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions