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