lkml.org 
[lkml]   [2014]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RESUBMIT PATCH v7 7/9] regulator: sky81452: Modify Device Tree structure
On Mon, Nov 17, 2014 at 05:33:08PM +0900, gyungoh@gmail.com wrote:

> np = of_get_child_by_name(dev->parent->of_node, "regulator");

> + ret = of_regulator_match(dev, np, &sky81452_match, 1);

Don't open code this, use regulators_node and of_match as previously
advised.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-11-17 15:41    [W:0.093 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site