]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: sun8i-ce-hash - use pm_runtime_resume_and_get()
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>
Thu, 1 May 2025 19:06:51 +0000 (22:06 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:45 +0000 (18:20 +0800)
commit7d2461c7616743d62be0df8f9a5f4a6de29f119a
tree678e387e1ff52b0854ae129fd4164189df68e549
parent9334f427576e6d361a409959b52246b0aa10476f
crypto: sun8i-ce-hash - use pm_runtime_resume_and_get()

Replace pm_runtime_get_sync() usage with pm_runtime_resume_and_get() to
simplify error handling.

This is recommended in the documentation of pm_runtime_get_sync().

Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c