diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-01-25 10:26:32 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-27 10:56:13 +0800 |
commit | b4895e2ca58a67ebab11f4671cc301fef0eedeb7 (patch) | |
tree | 6020f72921d4380f24ada2f1ed9a6fb47d357518 /drivers/regulator/max8907-regulator.c | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) |
regulator: max8997: Fix using wrong dev argument at various places
Use &pdev->dev rather than iodev->dev for dev_err(), dev_warn() and dev_info().
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 'drivers/regulator/max8907-regulator.c')
0 files changed, 0 insertions, 0 deletions