]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwrng: npcm - Add struct device pointer to device context struct
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 10 Apr 2025 15:22:39 +0000 (18:22 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Apr 2025 07:16:22 +0000 (15:16 +0800)
commita6b3e1f9a5b694f8b06952e3ede89a715efccf0c
tree776b9c29313b038e0c4c02a1f37f09f08087b32a
parentc2c460c30af5240d1894692306aa3a2377964f9e
hwrng: npcm - 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/npcm-rng.c