hwrng: mtk - add runtime PM support
authorSean Wang <sean.wang@mediatek.com>
Mon, 12 Jun 2017 15:56:55 +0000 (23:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:28 +0000 (11:21 +0800)
commit81d2b34508c6a35dd1525ee08e3439dce14e0615
tree5e6e65cdb4d3bbaff9ce48acac1aa747e3667e69
parent34194913ea6eae8b7df439d01e85ad20c6d0ab7b
hwrng: mtk - add runtime PM support

Add runtime PM support.  There will be the benefit on SoCs where the
clock to the RNG used can be shutdown.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/mtk-rng.c