[PATCH 0/2] hwrng: imx-rngc - use devres for clk and hwrng

Martin Kaiser martin at kaiser.cx
Mon Aug 15 12:37:41 PDT 2022


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




More information about the linux-arm-kernel mailing list