gpio: pch: allow use from device tree

Allow GPIOs from the gpio-pch driver to be referenced from device tree
by simply setting the struct gpio_chip of_node pointer to that of the
struct pci_dev.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Paul Burton 2015-11-30 16:21:38 +00:00 • committed by Linus Walleij
commit 1cfadea8f3