Re: [PATCH v3 5/7] max8903: removes non zero validity checks on gpios.
From: Krzysztof Kozlowski <hidden>
Date: 2016-06-17 06:35:50
Also in:
linux-pm, lkml
From: Krzysztof Kozlowski <hidden>
Date: 2016-06-17 06:35:50
Also in:
linux-pm, lkml
On 06/17/2016 07:00 AM, Chris Lapa wrote:
From: Chris Lapa <redacted> 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 <redacted> --- drivers/power/max8903_charger.c | 125 ++++++++++++++++++---------------------- 1 file changed, 55 insertions(+), 70 deletions(-)
Reviewed-by: Krzysztof Kozlowski <redacted> Best regards, Krzysztof