From: Axel Lin Date: Sat, 16 Jun 2012 03:55:18 +0000 (+0800) Subject: extcon: Set platform drvdata in gpio_extcon_probe() and fix irq leak X-Git-Tag: v3.5-rc4~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f1dc550b069e9fbfe375844f3c76f2cdd12f05c;p=pandora-kernel.git extcon: Set platform drvdata in gpio_extcon_probe() and fix irq leak Add missing platform_set_drvdata() in gpio_extcon_probe(), otherwise calling platform_get_drvdata in gpio_extcon_remove() returns NULL. Also add missing free_irq call in gpio_extcon_remove(). Signed-off-by: Axel Lin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed