summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/ba431-rng.c
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2020-12-18 11:57:08 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-03 08:41:37 +1100
commit256693a36203f51b0a3659c8b215a7026a03a3f1 (patch)
tree1b65fcf85bae09bed8c1e98974876097725eab05 /drivers/char/hw_random/ba431-rng.c
parent96a6af540396ed93ba231d0ae2e6fe196dc22032 (diff)
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 'drivers/char/hw_random/ba431-rng.c')
0 files changed, 0 insertions, 0 deletions