diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-10-16 10:23:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-20 12:24:04 +0100 |
commit | 80e82ac2ddf0e3de6f38de863b6d90de38961ed8 (patch) | |
tree | e64ed7bc1c2882580ab77942ae7c6837db948faf /drivers/regulator/rn5t618-regulator.c | |
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>
Diffstat (limited to 'drivers/regulator/rn5t618-regulator.c')
0 files changed, 0 insertions, 0 deletions