diff options
author | 2020-12-18 11:57:08 +0100 | |
---|---|---|
committer | 2021-01-03 08:41:37 +1100 | |
commit | 256693a36203f51b0a3659c8b215a7026a03a3f1 (patch) | |
tree | 1b65fcf85bae09bed8c1e98974876097725eab05 /crypto/blake2s_generic.c | |
parent | hwrng: iproc-rng200 - Fix disable of the block. (diff) | |
download | linux-dev-256693a36203f51b0a3659c8b215a7026a03a3f1.tar.xz linux-dev-256693a36203f51b0a3659c8b215a7026a03a3f1.zip |
hwrng: iproc-rng200 - Move enable/disable in separate function
We are calling the same code for enable and disable the block in various
parts of the driver. Put that code into a new function to reduce code
duplication.
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/blake2s_generic.c')
0 files changed, 0 insertions, 0 deletions