diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-02-13 09:29:45 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-13 12:52:18 +0000 |
commit | cbb0ed495ca165a94d66610adf64961f2117ec36 (patch) | |
tree | 92723e2f2a6d8d3b47ccadc5e64cb7628a93fc60 /kernel/mutex.c | |
parent | 1f91b6f6c747d3c584a5f37f68f5417bd328d745 (diff) | |
download | linux-stable-cbb0ed495ca165a94d66610adf64961f2117ec36.tar.gz linux-stable-cbb0ed495ca165a94d66610adf64961f2117ec36.tar.bz2 linux-stable-cbb0ed495ca165a94d66610adf64961f2117ec36.zip |
regulator: s5m8767: Fix dev argument for devm_kzalloc and of_get_regulator_init_data
Use &pdev->dev rather than iodev->dev for devm_kzalloc() and
of_get_regulator_init_data(), this fixes memory leak.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions