diff options
author | 2014-08-28 21:04:49 +0800 | |
---|---|---|
committer | 2014-08-28 16:01:25 +0100 | |
commit | c61519fd9abb1b520bcbe2eb21cf161d4d1b9eec (patch) | |
tree | e4ef84b58e7d72ed809e5e3e8c25884d09f679bb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | regulator: rk808: remove redundant code (diff) | |
download | linux-dev-c61519fd9abb1b520bcbe2eb21cf161d4d1b9eec.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions