crypto: stm32 - fix reference leak in stm32_crc_remove
pm_runtime_get_sync() will increment pm usage counter even it failed. Forgetting to call pm_runtime_put_noidle will result in reference leak in stm32_crc_remove, so we should fix it. Signed-off-by:Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
parent
c8bd296c