hwrng: mxc-rnga - Use the preferred format for kzalloc
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 12 Sep 2015 23:19:53 +0000 (20:19 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 14:00:39 +0000 (22:00 +0800)
commit05db0ad8656376e341db6120758d04c247c9cf2f
tree84ce17e9abfe07f24b3057a1707f82c3f212a960
parenteeb322540987d42a480cf8516fb88cda46347882
hwrng: mxc-rnga - Use the preferred format for kzalloc

According to Documentation/CodingStyle:

"The preferred form for passing a size of a struct is the following:

p = kmalloc(sizeof(*p), ...);"

,so do as suggested.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/mxc-rnga.c