gpio-exar/8250-exar: Rearrange gpiochip parenthood
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 21 May 2017 09:49:24 +0000 (11:49 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Mon, 3 Jul 2017 06:30:51 +0000 (08:30 +0200)
commit4076cf08ac7673aca7d4dd9ddf18045d08dbc292
tree4a76f259c6dcaef5099f5937de13b941babcce21
parent8847f5f9ef554269d2a06100b311d363b9727da6
gpio-exar/8250-exar: Rearrange gpiochip parenthood

Set the parent of the exar gpiochip to its platform device, like other
gpiochips are doing it. In order to keep the relationship discoverable
for ACPI systems, set the platform device companion to the PCI device.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-exar.c
drivers/tty/serial/8250/8250_exar.c