commit | 01cca93a9491ed95992523ff7e79dd9bfcdea8e0 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Jan 12 17:12:29 2015 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Jan 14 14:27:01 2015 +0100 |
tree | cc4ace59913a43506087a87c9655c3bfc91f6962 | |
parent | 6798acaa0138d8b12f1c54402ebcb66fea3deb03 [diff] |
gpio: unregister gpiochip device before removing it Unregister gpiochip device (used to export information through sysfs) before removing it internally. This way removal will reverse addition. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>