Re: [PATCH 1/2] regulator: tps65217: Fix using wrong dev argumentfor calling of_regulator_match
From: Mark Brown
Date: Wed Jan 23 2013 - 23:52:56 EST
On Thu, Jan 24, 2013 at 10:27:30AM +0800, Axel Lin wrote:
> - count = of_regulator_match(pdev->dev.parent, regs,
> - reg_matches, TPS65217_NUM_REGULATOR);
> + count = of_regulator_match(&pdev->dev, regs, reg_matches,
> + TPS65217_NUM_REGULATOR);
This will break the OF bindings for these regulators as the platform
device doesn't appear in the DT.
Attachment:
signature.asc
Description: Digital signature