mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
hwrng: atmel - drop __maybe_unused from atmel_trng_pm_ops
Since atmel_trng_driver keeps atmel_trng_pm_ops referenced and pm_ptr() uses IS_ENABLED(), which allows the compiler to optimize away unused variables, drop the redundant __maybe_unused annotation. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
91181aa5c2
commit
54e56712f0
|
|
@ -186,7 +186,7 @@ static int __maybe_unused atmel_trng_runtime_resume(struct device *dev)
|
|||
return atmel_trng_init(trng);
|
||||
}
|
||||
|
||||
static const struct dev_pm_ops __maybe_unused atmel_trng_pm_ops = {
|
||||
static const struct dev_pm_ops atmel_trng_pm_ops = {
|
||||
SET_RUNTIME_PM_OPS(atmel_trng_runtime_suspend,
|
||||
atmel_trng_runtime_resume, NULL)
|
||||
SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user