commit | b19f57589854eef5f5d252e1b63e1f3a212da2ca | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Jan 25 10:24:18 2013 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Jan 27 10:54:18 2013 +0800 |
tree | 47ef51fe23fe1df3ded199ad541ef465f9c8599c | |
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 <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>