From: Krzysztof Kozlowski Date: Thu, 16 Oct 2014 08:23:28 +0000 (+0200) Subject: regulator: s2mps11: Don't zero allocated memory for external control X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~23^2~1^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80e82ac2ddf0e3de6f38de863b6d90de38961ed8;p=pandora-kernel.git regulator: s2mps11: Don't zero allocated memory for external control The driver was allocating memory for storing GPIOs for external control with unnecessary GFP_ZERO flag. Then right after allocation it initialized memory to -EINVAL in loop. Skip the GFP_ZERO flag. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Mark Brown --- Reading git-diff-tree failed