[PATCH v2 2/2] hwrng: stm32 - cache device pointer in struct stm32_rng_private
Herbert Xu
herbert at gondor.apana.org.au
Thu May 30 22:06:05 PDT 2024
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 at foss.st.com>
> Signed-off-by: Marek Vasut <marex at denx.de>
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 at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list