On Thu, May 16, 2024 at 09:37:41PM +0200, Marek Vasut wrote: > Place device pointer in struct stm32_rng_private and use it all over the > place to get rid of the horrible type casts throughout the driver. > > No functional change. > > Acked-by: Gatien Chevallier <gatien.chevallier@xxxxxxxxxxx> > Signed-off-by: Marek Vasut <marex@xxxxxxx> I think you should remove the assignment of rng.priv too as nothing should use it anymore after your patch. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt