hwrng: OMAP: store per-device data in per-device variables, not file statics
authorPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:28:26 +0000 (17:28 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:28:26 +0000 (17:28 -0600)
commit02666360c92af7885c47163f936b58dc86213a53
treefea4b51900b0d7612d01cfaa695ebc57c55f291a
parente9b0a2fb0af562092aab1b56abf9d13f1abc7381
hwrng: OMAP: store per-device data in per-device variables, not file statics

Encapsulate all of the RNG per-device state into a single per-device
structure record, as opposed to a set of per-driver file variables.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap-rng.c