commit | 821873abc20e28fe3faa98591dab91d9b00700a5 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Tue Sep 04 18:35:22 2012 -0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 07 04:17:07 2012 +0800 |
tree | 5945c148e68a5f4bea368727da36234af465b538 | |
parent | a9ccb7bd0a781bce85db3b182e4c0c03688553c1 [diff] |
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>