Re: [PATCH 1/6] mmc: meson-gx-mmc: Fix platform_get_irq's error checking
From: Kevin Hilman
Date: Wed Dec 06 2017 - 19:55:17 EST
Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> writes:
> The platform_get_irq() function returns negative if an error occurs.
> zero or positive number on success. platform_get_irq() error checking
> for zero is not correct.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
Reviewed-by: Kevin Hilman <khilman@xxxxxxxxxxxx>