summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-06-01 18:46:45 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2026-06-12 09:56:45 +0800
commit1cecde1005399eb4e4069c036dcfcbe3c240b6e0 (patch)
tree0b069ea778050d7983ddb1f04c79ecb507b628c5 /scripts
parentb2c41fa9dd8fc740c489e060b199165771f268d1 (diff)
crypto: amcc - convert irq_of_parse_and_map to platform_get_irq
Replace the deprecated irq_of_parse_and_map() call with the modern platform_get_irq() in the probe function. This also improves error handling: platform_get_irq() returns a negative errno on failure, whereas irq_of_parse_and_map() returned 0. Change the irq field in struct crypto4xx_core_device from u32 to int to match the return type of platform_get_irq(). Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions