devm_platform_ioremap_resource() internally have platform_get_resource() and devm_ioremap_resource() in it. So instead of calling them separately use devm_platform_ioremap_resource() directly. YueHaibing (12): crypto: artpec6 - use devm_platform_ioremap_resource() to simplify code crypto: ccp - use devm_platform_ioremap_resource() to simplify code crypto: exynos - use devm_platform_ioremap_resource() to simplify code crypto: img-hash - use devm_platform_ioremap_resource() to simplify code crypto: inside-secure - use devm_platform_ioremap_resource() to simplify code crypto: mediatek - use devm_platform_ioremap_resource() to simplify code crypto: picoxcell - use devm_platform_ioremap_resource() to simplify code crypto: sunxi-ss - use devm_platform_ioremap_resource() to simplify code crypto: rockchip - use devm_platform_ioremap_resource() to simplify code crypto: stm32 - use devm_platform_ioremap_resource() to simplify code crypto: qce - use devm_platform_ioremap_resource() to simplify code crypto: qcom-rng - use devm_platform_ioremap_resource() to simplify code drivers/crypto/axis/artpec6_crypto.c | 4 +--- drivers/crypto/ccp/sp-platform.c | 4 +--- drivers/crypto/exynos-rng.c | 4 +--- drivers/crypto/img-hash.c | 4 +--- drivers/crypto/inside-secure/safexcel.c | 4 +--- drivers/crypto/mediatek/mtk-platform.c | 3 +-- drivers/crypto/picoxcell_crypto.c | 5 ++--- drivers/crypto/qce/core.c | 4 +--- drivers/crypto/qcom-rng.c | 4 +--- drivers/crypto/rockchip/rk3288_crypto.c | 4 +--- drivers/crypto/stm32/stm32-crc32.c | 4 +--- drivers/crypto/stm32/stm32-cryp.c | 4 +--- drivers/crypto/sunxi-ss/sun4i-ss-core.c | 4 +--- 13 files changed, 14 insertions(+), 38 deletions(-) -- 2.7.4