From: Johan Hovold Date: Mon, 12 Jan 2015 16:12:29 +0000 (+0100) Subject: gpio: unregister gpiochip device before removing it X-Git-Tag: fixes-v4.0-rc1~273^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01cca93a9491ed95992523ff7e79dd9bfcdea8e0;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed