commit | afbc4f312b5e6e87fcd383eb6764e09f1324c78e | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Feb 09 13:21:06 2016 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Feb 11 18:16:54 2016 +0100 |
tree | 5428e0fe100c576dd158bba68df183010cee2009 | |
parent | 9efd9e6956adf479eb85beb74bb975f702dc01a9 [diff] |
gpio: move sysfs mock device to the gpio_device Since gpio_device is the struct that survives if the backing gpio_chip is removed, move the sysfs mock device to this state container so it becomes part of the dangling state of the GPIO device on removal. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>