From: Mark Brown Date: Tue, 27 Nov 2012 07:14:26 +0000 (+0900) Subject: extcon: arizona: Only set GPIO if it has been requested X-Git-Tag: v3.9-rc1~124^2~113^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd74f7b3b387cbc6153b15c100982bac119af753;p=pandora-kernel.git extcon: arizona: Only set GPIO if it has been requested The micd_pol GPIO is only requested if we've specified one greater than 0 so apply the same test before we set it. Signed-off-by: Mark Brown Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- Reading git-diff-tree failed