diff options
author | Johan Hovold <johan@kernel.org> | 2015-01-12 19:12:29 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-01-14 16:27:01 +0300 |
commit | 01cca93a9491ed95992523ff7e79dd9bfcdea8e0 (patch) | |
tree | cc4ace59913a43506087a87c9655c3bfc91f6962 /drivers/gpio/gpiolib-sysfs.c | |
parent | 6798acaa0138d8b12f1c54402ebcb66fea3deb03 (diff) | |
download | linux-01cca93a9491ed95992523ff7e79dd9bfcdea8e0.tar.xz |
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>
Diffstat (limited to 'drivers/gpio/gpiolib-sysfs.c')
0 files changed, 0 insertions, 0 deletions