summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2024-05-31 10:57:34 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2024-06-07 19:46:39 +0800
commit4c6338f8664b5f32d6ef0756a5afef64e50608dc (patch)
tree4f872eb9ad0f4ac0bb4d8838f29cd663ed5ba844 /include/crypto
parent771c7faa65fb72c1d8d0ffd2b504058b7d02d51f (diff)
hwrng: stm32 - use sizeof(*priv) instead of sizeof(struct stm32_rng_private)
Use sizeof(*priv) instead of sizeof(struct stm32_rng_private), the former makes renaming of struct stm32_rng_private easier if necessary, as it removes one site where such rename has to happen. No functional change. Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Uwe Kleine-König <ukleinek@kernel.org> Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions