summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/mc13xxx.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-08-28 15:04:49 +0200
committerMark Brown <broonie@linaro.org>2014-08-28 17:01:25 +0200
commitc61519fd9abb1b520bcbe2eb21cf161d4d1b9eec (patch)
treee4ef84b58e7d72ed809e5e3e8c25884d09f679bb /drivers/regulator/mc13xxx.h
parentregulator: rk808: remove redundant code (diff)
downloadlinux-c61519fd9abb1b520bcbe2eb21cf161d4d1b9eec.tar.xz
linux-c61519fd9abb1b520bcbe2eb21cf161d4d1b9eec.zip
regulator: rk808: Fix memory leak
The memory allocated in rk808_regulator_probe() needs to be freed when the module is unloaded. Thus pass &pdev->dev rather than &client->dev to devm_kzalloc. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/mc13xxx.h')
0 files changed, 0 insertions, 0 deletions