mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/6] crypto/hwrng: Simplify with of_device_get_match_data()
@ 2025-11-06 16:31 Krzysztof Kozlowski
  2025-11-06 16:31 ` [PATCH 1/6] hwrng: bcm2835 - Move MODULE_DEVICE_TABLE() to table definition Krzysztof Kozlowski
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2025-11-06 16:31 UTC (permalink / raw)
  To: Olivia Mackall, Herbert Xu, Florian Fainelli,
	Broadcom internal kernel review list, Ray Jui, Scott Branden,
	Jesper Nilsson, Lars Persson, David S. Miller, Tom Lendacky,
	John Allen, Srujana Challa, Bharat Bhushan
  Cc: linux-crypto, linux-rpi-kernel, linux-arm-kernel, linux-kernel,
	linux-arm-kernel, Krzysztof Kozlowski

Few simple cleanups, not tested on the hardware.

Care has to be taken when converting of_match_data() into
of_device_get_match_data(), because first can check arbitrary
device_node and the latter checks device's node.  Cases here should be
safe because of_match_data() uses 'dev.of_node'.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (6):
      hwrng: bcm2835 - Move MODULE_DEVICE_TABLE() to table definition
      hwrng: bcm2835 - Simplify with of_device_get_match_data()
      crypto: artpec6 - Simplify with of_device_get_match_data()
      crypto: ccp - Constify 'dev_vdata' member
      crypto: ccp - Simplify with of_device_get_match_data()
      crypto: cesa - Simplify with of_device_get_match_data()

 drivers/char/hw_random/bcm2835-rng.c | 11 +++--------
 drivers/crypto/axis/artpec6_crypto.c |  9 +++------
 drivers/crypto/ccp/sp-dev.h          |  2 +-
 drivers/crypto/ccp/sp-platform.c     | 17 +++--------------
 drivers/crypto/marvell/cesa/cesa.c   |  7 ++-----
 5 files changed, 12 insertions(+), 34 deletions(-)
---
base-commit: 8297f2f148634bfa98b0faec66bab14942801d95
change-id: 20251106-crypto-of-match-22726ffd20b4

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


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

end of thread, other threads:[~2025-11-06 20:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-06 16:31 [PATCH 0/6] crypto/hwrng: Simplify with of_device_get_match_data() Krzysztof Kozlowski
2025-11-06 16:31 ` [PATCH 1/6] hwrng: bcm2835 - Move MODULE_DEVICE_TABLE() to table definition Krzysztof Kozlowski
2025-11-06 20:34   ` Florian Fainelli
2025-11-06 16:31 ` [PATCH 2/6] hwrng: bcm2835 - Simplify with of_device_get_match_data() Krzysztof Kozlowski
2025-11-06 20:44   ` Florian Fainelli
2025-11-06 16:31 ` [PATCH 3/6] crypto: artpec6 " Krzysztof Kozlowski
2025-11-06 19:09   ` Krzysztof Kozlowski
2025-11-06 16:31 ` [PATCH 4/6] crypto: ccp - Constify 'dev_vdata' member Krzysztof Kozlowski
2025-11-06 20:48   ` Tom Lendacky
2025-11-06 16:31 ` [PATCH 5/6] crypto: ccp - Simplify with of_device_get_match_data() Krzysztof Kozlowski
2025-11-06 20:49   ` Tom Lendacky
2025-11-06 16:31 ` [PATCH 6/6] crypto: cesa " Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®