From: Sean Cross Date: Mon, 26 May 2014 08:45:41 +0000 (+0800) Subject: regulator: pfuze100: Don't allocate an invalid gpio X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~28^2~2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe788b09552d1ea318d80d50962d3af69fbb0dbc;p=pandora-kernel.git regulator: pfuze100: Don't allocate an invalid gpio Previously, the PFUZE100 would try to allocate gpio0 io0 because config.ena_gpio defaults to 0, which can be a valid GPIO. To prevent this from happening, set this parameter to -EINVAL. Signed-off-by: Sean Cross Signed-off-by: Mark Brown --- Reading git-diff-tree failed