[PATCH -next] spi: nuc900: remove redundant return value check of platform_get_resource()

Jingoo Han jg1.han at samsung.com
Thu Dec 19 21:36:48 EST 2013


On Friday, December 20, 2013 11:22 AM, Wei Yongjun wrote:
> 
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> Remove unneeded error handling on the result of a call
> to platform_get_resource() when the value is passed to
> devm_ioremap_resource().
> 
> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>

Reviewed-by: Jingoo Han <jg1.han at samsung.com>

Best regards,
Jingoo Han

> ---
>  drivers/spi/spi-nuc900.c | 6 ------
>  1 file changed, 6 deletions(-)




More information about the linux-arm-kernel mailing list