mbox series

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

Message ID 20220815193743.105926-1-martin@kaiser.cx (mailing list archive)
Headers show
Series hwrng: imx-rngc - use devres for clk and hwrng | expand

Message

Martin Kaiser Aug. 15, 2022, 7:37 p.m. UTC
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(-)

Comments

Herbert Xu Aug. 26, 2022, 11:03 a.m. UTC | #1
On Mon, Aug 15, 2022 at 09:37:41PM +0200, Martin Kaiser wrote:
> 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(-)

All applied.  Thanks.