Re: [PATCH 2/3] regulator: max77686: Fix using wrong dev argument at various places

Yadwinder Singh Brar
2013-01-27T13:51:28Z

On Fri, Jan 25, 2013 at 7:54 AM, Axel Lin <axel.lin@ingics.com> wrote:
> 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>
> ---

Reviewed-by: Yadwinder Singh Brar <yadi.brar@samsung.com>

Thanks.