Skip to content
Commit b21d14d9 authored by Tian Tao's avatar Tian Tao Committed by Herbert Xu
Browse files

hwrng: omap - Use pm_runtime_resume_and_get() to replace open coding



use pm_runtime_resume_and_get() to replace pm_runtime_get_sync and
pm_runtime_put_noidle. this change is just to simplify the code, no
actual functional changes.

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5d0421d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment