lkml.org 
[lkml]   [2012]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 2/3] regulator: max77686: Add support for various operating modes
On Mon, Dec 10, 2012 at 11:56:23AM +0530, Abhilash Kesavan wrote:

> + if (of_property_read_u32(rdata[i].of_node, "max77686-opmode",
> + &rdata[i].opmode)) {
> + dev_warn(iodev->dev, "no op_mode property property at %s\n",
> + rmatch.name);
> + rdata[i].opmode = regulators[i].enable_mask;
> + }

Binding documenation is mandatory for any new OF properties, please add
this.


\
 
 \ /
  Last update: 2012-12-10 08:01    [W:0.061 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site