gpio-pch: Set parent dev for gpio chip
authorAlexander Stein <alexander.stein@systec-electronic.com>
Fri, 2 Nov 2012 15:02:25 +0000 (16:02 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 4 Nov 2012 18:21:29 +0000 (19:21 +0100)
commit5c868fc629b0e645a68aec3a6834d965e71531f4
treedb8cabeb7c987b88d731ad17ecbb7daad1e04192
parent1631081993b1e6a6d668b3eb089904b88f0efc2b
gpio-pch: Set parent dev for gpio chip

This will show the gpio chip as a child node
under /sys/bus/pci/devices/xxxx:xx:xx.x/

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pch.c