Re: [PATCH v2] hwrng: omap - Use pm_runtime_resume_and_get() to replace open coding
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-06-03 12:29:54
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-06-03 12:29:54
On Mon, May 24, 2021 at 08:20:57PM +0800, Tian Tao wrote:
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: Tian Tao <tiantao6@hisilicon.com> --- v2: fix the problem of one missing change in patch --- drivers/char/hw_random/omap-rng.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt