carl9170: devres-ing hwrng_register usage

devres will take care of freeing the hwrng once it is no longer needed.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/d1c16490462a9371ab3cc16a018ef5e08382a35e.1646250537.git.chunkeey@gmail.com
This commit is contained in:
Christian Lamparter 2022-03-02 20:51:35 +01:00 • committed by Kalle Valo
commit 23de0fa0d2
2 changed files with 3 additions and 27 deletions