diff options
author | Johan Hovold <johan@kernel.org> | 2015-01-12 17:12:29 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-01-14 14:27:01 +0100 |
commit | 01cca93a9491ed95992523ff7e79dd9bfcdea8e0 (patch) | |
tree | cc4ace59913a43506087a87c9655c3bfc91f6962 /lib/mpi/mpi-cmp.c | |
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>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions