From: Johan Hovold Date: Mon, 12 Jan 2015 16:12:29 +0000 (+0100) Subject: gpio: unregister gpiochip device before removing it X-Git-Tag: v3.2.70~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c833e96de15cb46c8587271a32c651c0acc40dd3;p=pandora-kernel.git gpio: unregister gpiochip device before removing it commit 01cca93a9491ed95992523ff7e79dd9bfcdea8e0 upstream. 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 Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed