summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2023-07-04 20:32:03 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-07-20 13:16:24 +0300
commitac0042fa5aa5ac7929d95f4bf9185429ccdb70cb (patch)
tree538386be1f5e5368bb90f5684d0b09d4e9047105 /include/linux
parent97c63a9dea2929fc4fd42f1d4446d97b6c011a1f (diff)
downloadlinux-ac0042fa5aa5ac7929d95f4bf9185429ccdb70cb.tar.xz
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions