summaryrefslogtreecommitdiffstats
path: root/drivers/fsi
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-09-14 23:02:59 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-04 17:06:12 +0200
commit8d9d4bdc495f5e57877f9ec59af323fcbf3485fe (patch)
tree938f85c5c67683c4e73e6a1a195e8aac320b6deb /drivers/fsi
parenthwrng: omap3-rom - Update to use standard driver data (diff)
downloadlinux-8d9d4bdc495f5e57877f9ec59af323fcbf3485fe.tar.xz
linux-8d9d4bdc495f5e57877f9ec59af323fcbf3485fe.zip
hwrng: omap3-rom - Use runtime PM instead of custom functions
Nowadays we have runtime PM, and we can use it with autosuspend_timeout to idle things automatically. This allows us to get rid of the custom PM implementation. We enable clocks and init RNG in runtime_resume, and reset RNG and disable clocks in runtime_suspend. And then omap3_rom_rng_read() becomes very simple and we don't need the old functions for omap3_rom_rng_idle() and omap3_rom_rng_get_random(). We can now also get rid of pr_fmt as we're using dev_err instead. 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> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/fsi')
0 files changed, 0 insertions, 0 deletions