Re: [PATCH 1/1] regulator: mc13xxx: check if DT is enabled

From: Mark Brown
Date: Tue Feb 25 2014 - 06:58:58 EST


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 (.

Attachment: signature.asc
Description: Digital signature