summaryrefslogtreecommitdiff
path: root/rust/helpers/processor.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-11-07 09:15:50 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2025-11-14 18:15:48 +0800
commitc6c247ae336aa7a85e8400d60c1b2c4f2edf93d4 (patch)
treef8e92fb4fd48d2931a32eaa01626fe854fe9626f /rust/helpers/processor.c
parent6b94eb68ad2147c7ed0e978b1924707f88922e4c (diff)
crypto: artpec6 - Simplify with of_device_get_match_data()
Driver's probe function matches against driver's of_device_id table, so of_match_node() can be simplified with of_device_get_match_data(). This requires changing the enum used in the driver match data entries to non-zero, to be able to recognize error case of of_device_get_match_data(). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions