hwrng: omap3-rom - Use devm hwrng and runtime PM
authorTony Lindgren <tony@atomide.com>
Sat, 14 Sep 2019 21:03:00 +0000 (14:03 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:06:12 +0000 (01:06 +1000)
commitbac5c49ec29a0dd1a298211c392154c9db3050b2
tree23ae55d78018f1762ee3af5648f222946c8f40fc
parent8d9d4bdc495f5e57877f9ec59af323fcbf3485fe
hwrng: omap3-rom - Use devm hwrng and runtime PM

This allows us to simplify things more for probe and exit.

Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Adam Ford <aford173@gmail.com>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Tero Kristo <t-kristo@ti.com>
Suggested-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap3-rom-rng.c