hwrng: mxc-rnga - Access data via structure
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 4 Sep 2012 21:35:22 +0000 (18:35 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Sep 2012 20:17:07 +0000 (04:17 +0800)
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>

No differences found