From: Fabio Estevam Date: Tue, 4 Sep 2012 21:35:22 +0000 (-0300) Subject: hwrng: mxc-rnga - Access data via structure X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~19^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=821873abc20e28fe3faa98591dab91d9b00700a5;p=pandora-kernel.git 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 Signed-off-by: Fabio Estevam Signed-off-by: Herbert Xu --- Reading git-diff-tree failed