[PATCH] hwrng: exynos - switch to DEFINE_SIMPLE_DEV_PM_OPS

Herbert Xu herbert at gondor.apana.org.au
Fri Jul 14 01:58:26 PDT 2023


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 at 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 at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list