diff options
author | Axel Lin <[email protected]> | 2013-01-25 10:24:18 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-01-27 10:54:18 +0800 |
commit | b19f57589854eef5f5d252e1b63e1f3a212da2ca (patch) | |
tree | 47ef51fe23fe1df3ded199ad541ef465f9c8599c /lib/mpi/mpi-internal.h | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) |
regulator: max77686: Fix using wrong dev argument at various places
Use &pdev->dev rather than iodev->dev for dev_err().
Use &pdev->dev rather than iodev->dev for devm_kzalloc() and
of_regulator_match(), this fixes memory leak.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions