Re: [PATCH] regulator: max8973: get rid of extra variable for gpio validity

From: Mark Brown
Date: Fri Apr 10 2015 - 13:46:47 EST

On Thu, Apr 09, 2015 at 04:06:11PM +0530, Laxman Dewangan wrote:

> However, I can push another patch to fix the issue as if platform data is
> provided from non-DT and dvs_gpio is 0 then mark this as -EINVAL so that it
> will treat this as invalid gpio.
> Still there will be issue if some platform have real GPIO number as 0 and
> register from board files.

> Does it make sense?

Yes, that makes sense.

Attachment: signature.asc
Description: Digital signature