Messages in this thread | | | Date | Thu, 24 Jan 2013 12:52:52 +0800 | From | Mark Brown <> | Subject | Re: [PATCH 1/2] regulator: tps65217: Fix using wrong dev argument for calling of_regulator_match |
| |
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. [unhandled content-type:application/pgp-signature] | |