Re: [PATCH -next] crypto: axis - remove unnecessary platform_get_resource() error check

2018-01-26 Thread Herbert Xu
On Wed, Jan 17, 2018 at 11:26:47AM +, Wei Yongjun wrote: > devm_ioremap_resource() already checks if the resource is NULL, so > remove the unnecessary platform_get_resource() error check. > > Signed-off-by: Wei Yongjun Patch applied. Thanks. -- Email: Herbert Xu

[PATCH -next] crypto: axis - remove unnecessary platform_get_resource() error check

2018-01-17 Thread Wei Yongjun
devm_ioremap_resource() already checks if the resource is NULL, so remove the unnecessary platform_get_resource() error check. Signed-off-by: Wei Yongjun --- drivers/crypto/axis/artpec6_crypto.c | 3 --- 1 file changed, 3 deletions(-) diff --git