]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwrng: mtk - Add struct device pointer to device context struct
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 10 Apr 2025 15:22:38 +0000 (18:22 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Apr 2025 07:16:22 +0000 (15:16 +0800)
commitc2c460c30af5240d1894692306aa3a2377964f9e
tree5f69f9abf99eab0418e34540890082fbf5cce0ed
parent695912e619ee3945075af2de248e1e0fcef94a57
hwrng: mtk - Add struct device pointer to device context struct

Add a struct device pointer field to the device's context struct. This
makes using the unsigned long priv pointer in struct hwrng unnecessary, so
remove that one as well.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/mtk-rng.c