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

2016-06-20 Thread Krzysztof Kozlowski
On 06/20/2016 12:27 AM, Chris Lapa wrote: > From: Chris Lapa > > 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 se

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

2016-06-20 Thread Chris Lapa
From: Chris Lapa 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