]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd5f528f5821c2ae6b55e57c214854022c5c48e0a
tree85a94c1c9fb59dff61db96b24f19d2a7107c0775
parentaddd0a950dfc2c7a4747044b5572c5d10293680e
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