Use devres for clock prepare+enable and for hwrng registration. Martin Kaiser (2): hwrng: imx-rngc - use devm_clk_get_enabled hwrng: imx-rngc - use devres for hwrng registration drivers/char/hw_random/imx-rngc.c | 37 ++++++------------------------- 1 file changed, 7 insertions(+), 30 deletions(-) -- 2.30.2