Martin Kaiser ac0042fa5a hwrng: pic32 - enable TRNG only while it's used
The probe function enables the TRNG hardware before registering the
driver. If registration fails, probe returns an error, but the TRNG
remains enabled.

Define init and cleanup functions, enable and disable the hardware there.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-07-20 22:16:24 +12:00
..
2023-04-27 11:53:57 -07:00
2023-05-31 19:17:29 +01:00
2023-03-09 17:30:27 +01:00
2022-04-22 16:24:47 +02:00