Re: [PATCH v2 01/10] rtc: max77686: Fix max77686_rtc_read_alarm() return value

From: Laxman Dewangan
Date: Fri Jan 22 2016 - 04:46:47 EST

On Friday 22 January 2016 01:53 AM, Javier Martinez Canillas wrote:
The function is always returning zero even in case of failures since
the ret value was not propagated to the callers. Fix the error path.

Reported-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
Signed-off-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>

Acked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>