diff options
| author | Martin Kaiser <[email protected]> | 2023-07-19 07:18:04 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-07-28 10:20:25 +0000 |
| commit | 8bcd9689384810bd1c610419563c827e23118e34 (patch) | |
| tree | dce8e2230d7b4826dea7f1d515e2993c31d1ce20 /lib/crypto/mpi/mpi-cmp.c | |
| parent | hwrng: cctrng - don't open code init and exit functions (diff) | |
| download | kernel-8bcd9689384810bd1c610419563c827e23118e34.tar.gz kernel-8bcd9689384810bd1c610419563c827e23118e34.zip | |
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
