diff options
author | 2012-09-04 18:35:22 -0300 | |
---|---|---|
committer | 2012-09-07 04:17:07 +0800 | |
commit | 821873abc20e28fe3faa98591dab91d9b00700a5 (patch) | |
tree | 5945c148e68a5f4bea368727da36234af465b538 /drivers/crypto | |
parent | hwrng: mxc-rnga - Adapt clocks to new i.mx clock framework (diff) | |
download | linux-821873abc20e28fe3faa98591dab91d9b00700a5.tar.gz linux-821873abc20e28fe3faa98591dab91d9b00700a5.tar.bz2 linux-821873abc20e28fe3faa98591dab91d9b00700a5.zip |
hwrng: mxc-rnga - Access data via structure
In current driver, everytime we need to access the rng clock
,ie to enable or disable it, a call to clk_get is done.
This is not correct and the preferred way is to provide a rng data structure
that could be used for accessing rng resources.
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions