lkml.org 
[lkml]   [2013]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2013-01-24 06:21    [W:0.169 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site