On 06/17/2016 07:00 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 explicity uses gpio_is_valid() s/explicity/explicitly/ > throughout. Which in turn results in several of the error messages becoming > redundant and thus removed. > > Signed-off-by: Chris Lapa <chris@xxxxxxxxxxx> > --- > drivers/power/max8903_charger.c | 125 ++++++++++++++++++---------------------- > 1 file changed, 55 insertions(+), 70 deletions(-) Reviewed-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html