commit | 80e82ac2ddf0e3de6f38de863b6d90de38961ed8 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | Thu Oct 16 10:23:28 2014 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Oct 20 12:24:04 2014 +0100 |
tree | e64ed7bc1c2882580ab77942ae7c6837db948faf | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 [diff] |
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 <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>