diff options
| author | Thorsten Blum <blum@kernel.org> | 2026-09-29 23:37:50 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-10-08 18:48:06 +1100 |
| commit | 7d91d0ae0cd94db834a6edafc1ab92e77f812154 (patch) | |
| tree | cbd0a68602b8871b03e79676c2161ef9c9871a47 /scripts/cleanpatch | |
| parent | 611b15d344ff9c5e5be17e2f76df71feb9f8caa4 (diff) | |
hwrng: atmel - use HZ_PER_MHZ in atmel_trng_init()
Combine and inline the rate check to simplify the code. Drop the local
rate variable and use HZ_PER_MHZ instead of the hard-coded frequency.
Signed-off-by: Thorsten Blum <blum@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
