Re: [PATCH] spi: sifive: check return value for platform_get_resource()

From: Paul Walmsley
Date: Tue Sep 17 2019 - 05:18:17 EST


On Tue, 17 Sep 2019, Aurabindo Jayamohanan wrote:

> platform_get_resource() may return NULL. If it is so, return -ENXIO
>
> Signed-off-by: Aurabindo Jayamohanan <mail@xxxxxxxxxxxx>

Reviewed-by: Paul Walmsley <paul.walmsley@xxxxxxxxxx>


- Paul