hwrng: OMAP: convert to use runtime PM
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)
commit665d92fa85b5cb4c0a3f36524ac6cc8f9e3d9c2d
tree42268a76ff4d1dff2d639f62b2207fc505988ec7
parent02666360c92af7885c47163f936b58dc86213a53
hwrng: OMAP: convert to use runtime PM

Convert the OMAP onboard hardware RNG driver to use runtime PM.

This allows us to remove some OMAP-specific cpu_is_omap*() calls from
the RNG driver.

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