summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-div.c
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2023-07-19 10:18:04 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-07-28 13:20:25 +0300
commit8bcd9689384810bd1c610419563c827e23118e34 (patch)
treedce8e2230d7b4826dea7f1d515e2993c31d1ce20 /lib/crypto/mpi/mpi-div.c
parent80e40fea8e2a7528b079ac1853da528c5cabf625 (diff)
downloadlinux-8bcd9689384810bd1c610419563c827e23118e34.tar.xz
hwrng: cctrng - let devres enable the clock
Call devm_clk_get_optional_enabled in the cctrng driver. We don't have to disable and unprepare the clock any more in error paths or in the remove function. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions