linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Use a local device pointer for hwrng drivers instead of casting constantly
@ 2025-04-10  7:06 Sakari Ailus
  2025-04-10  7:06 ` [PATCH 1/3] hwrng: atmel - Add a local variable for struct device pointer Sakari Ailus
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sakari Ailus @ 2025-04-10  7:06 UTC (permalink / raw)
  To: linux-crypto
  Cc: Olivia Mackall, Herbert Xu, Nicolas Ferre, Sean Wang,
	Matthias Brugger, AngeloGioacchino Del Regno, Avi Fishman,
	Tomer Maimon, Tali Perry, Uwe Kleine-König, linux-arm-kernel,
	linux-mediatek, openbmc

Hi folks,

Clean up random number reading by adding a local shorthand variable for a
struct device pointer used on multiple Runtime PM functions. The changes
are very similar in all three drivers.

Sakari Ailus (3):
  hwrng: atmel - Add a local variable for struct device pointer
  hwrng: mtk - Add a local variable for struct device pointer
  hwrng: npcm - Add a local variable for struct device pointer

 drivers/char/hw_random/atmel-rng.c | 9 +++++----
 drivers/char/hw_random/mtk-rng.c   | 7 ++++---
 drivers/char/hw_random/npcm-rng.c  | 7 ++++---
 3 files changed, 13 insertions(+), 10 deletions(-)

-- 
2.39.5



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-10 17:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10  7:06 [PATCH 0/3] Use a local device pointer for hwrng drivers instead of casting constantly Sakari Ailus
2025-04-10  7:06 ` [PATCH 1/3] hwrng: atmel - Add a local variable for struct device pointer Sakari Ailus
2025-04-10  7:42   ` Herbert Xu
2025-04-10 15:15     ` Sakari Ailus
2025-04-10  7:06 ` [PATCH 2/3] hwrng: mtk " Sakari Ailus
2025-04-10  7:06 ` [PATCH 3/3] hwrng: npcm " Sakari Ailus
2025-04-10  9:59   ` kernel test robot
2025-04-10 15:55   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).