gpio: fix abi regression in sysfs
authorBamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Wed, 24 Feb 2016 14:17:19 +0000 (22:17 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Feb 2016 15:08:45 +0000 (16:08 +0100)
commitd27c17285eb7ebb6aa513da7a3338e2a507b1216
tree85a94c1c9fb59dff61db96b24f19d2a7107c0775
parentcfb7428c3d156e45bb4092864551439e65176db3
gpio: fix abi regression in sysfs

We started to assign the gpio_device as parent for the sysfs
but this changes the expected layout of sysfs. Restore the
previous behaviour.

Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-sysfs.c