Messages in this thread | | | Date | Fri, 14 Jul 2023 18:58:26 +1000 | From | Herbert Xu <> | Subject | Re: [PATCH] hwrng: exynos - switch to DEFINE_SIMPLE_DEV_PM_OPS |
| |
On Tue, Jul 04, 2023 at 07:10:51PM +0200, Martin Kaiser wrote: > SIMPLE_DEV_PM_OPS is deprecated, replace it with DEFINE_SIMPLE_DEV_PM_OPS > and use pm_sleep_ptr for setting the driver's pm routines. We can now > remove the __maybe_unused qualifier in the suspend and resume functions. > > Signed-off-by: Martin Kaiser <martin@kaiser.cx> > --- > compile-tested only > > drivers/char/hw_random/exynos-trng.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |