summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-10-16 12:23:28 +0400
committerMark Brown <broonie@kernel.org>2014-10-20 15:24:04 +0400
commit80e82ac2ddf0e3de6f38de863b6d90de38961ed8 (patch)
treee64ed7bc1c2882580ab77942ae7c6837db948faf /drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadlinux-80e82ac2ddf0e3de6f38de863b6d90de38961ed8.tar.xz
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/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c')
0 files changed, 0 insertions, 0 deletions