crypto: ice: use devm api to unmap IO Resource
ICE driver currently uses devm_ioremap_resource to map IO resource.
However, it is using iounmap to reverse the mapping in case of failure.
Replacing iounmap with devm_iounmap for proper resource handling.
Change-Id: I9f5c679bc161391d01f30f6131567d86f9363caa
Signed-off-by:
Dinesh K Garg <dineshg@codeaurora.org>
Loading
Please register or sign in to comment