Re: [PATCH v4 5/7] max8903: removes non zero validity checks on gpios.

From: Krzysztof Kozlowski
Date: Mon Jun 20 2016 - 08:25:16 EST


On 06/20/2016 12:27 AM, Chris Lapa wrote:
> From: Chris Lapa <chris@xxxxxxxxxxx>
>
> Prior to this commit a zero gpio was treated as invalid. Whereas
> gpio_is_valid() will treat a zero gpio as valid.
>
> This commit removes the confusion and explicitly uses gpio_is_valid()
> throughout. Which in turn results in several of the error messages becoming
> redundant and thus removed.
>
> Signed-off-by: Chris Lapa <chris@xxxxxxxxxxx>

The same as in #1, I already reviewed it. For the record:
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>

BR.
Krzysztof