[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130124045246.GA4955@opensource.wolfsonmicro.com>
Date: Thu, 24 Jan 2013 12:52:52 +0800
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...ics.com>
Cc: AnilKumar Ch <anilkumar@...com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel@...r.kernel.org
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.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists