diff options
| author | Matthias Brugger <mbrugger@suse.com> | 2020-12-18 11:57:08 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-03 08:41:37 +1100 |
| commit | 256693a36203f51b0a3659c8b215a7026a03a3f1 (patch) | |
| tree | 1b65fcf85bae09bed8c1e98974876097725eab05 /kernel/debug | |
| parent | 96a6af540396ed93ba231d0ae2e6fe196dc22032 (diff) | |
| download | cachepc-linux-256693a36203f51b0a3659c8b215a7026a03a3f1.tar.gz cachepc-linux-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 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
