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

Jingoo Han jg1.han at samsung.com
Thu Dec 19 21:33:07 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-s3c24xx.c | 7 -------
>  1 file changed, 7 deletions(-)




More information about the linux-arm-kernel mailing list