spi: fsl-spi: fix devm_ioremap_resource() error case
devm_ioremap_resource() doesn't return NULL but an ERR_PTR on error. Reported-by: NJonas Gorsky <jogo@openwrt.org> Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录