[PATCH 0/6] crypto/hwrng: Simplify with of_device_get_match_data()
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Thu Nov 6 08:31:52 PST 2025
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 at linaro.org>
More information about the linux-arm-kernel
mailing list