]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: crypto4xx - avoid explicit resource
authorRosen Penev <rosenp@gmail.com>
Thu, 10 Oct 2024 19:48:20 +0000 (12:48 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 19 Oct 2024 00:44:30 +0000 (08:44 +0800)
commit7337b18f1ec75ec22c4c088cbe4a3c54a6bb3660
treedc801ccee152a1ac4f126758d6e9d5fdcf5a07dc
parentb140bbf7c9067df1933865c0c9f790d868ad269a
crypto: crypto4xx - avoid explicit resource

There's no use for the resource struct. Just use
devm_platform_ioremap_resource to simplify the code.

Avoids the need to iounmap manually.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_core.c