From fe788b09552d1ea318d80d50962d3af69fbb0dbc Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Mon, 26 May 2014 16:45:41 +0800 Subject: [PATCH] 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-format-patch failed