lkml.org 
[lkml]   [2014]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] regulator: mc13xxx: check if DT is enabled
On Tue, Feb 25, 2014 at 09:47:51AM +0100, Philippe Rétornaz wrote:

> + if(!pdev->dev.parent->of_node)
> + return -ENODEV;

I know Sachin was going to post a more complete patch here but watch out
for coding style - there should be a space between if and the (.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-02-26 04:41    [W:0.052 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site