regulator: max8997: Fix using wrong dev argument at various places
authorAxel Lin <axel.lin@ingics.com>
Fri, 25 Jan 2013 02:26:32 +0000 (10:26 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 27 Jan 2013 02:56:13 +0000 (10:56 +0800)
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>

No differences found