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.6-rc1~99^2~14^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b945f3fa829a7315488f4d39a866dfbb29e8a49a;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