From: Herbert Xu <herbert@gondor.apana.org.au>
To: Rosen Penev <rosenp@gmail.com>
Cc: linux-crypto@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] crypto: omap-sham: use devm_platform_get_and_ioremap_resource
Date: Mon, 27 Jul 2026 10:34:18 +1000 [thread overview]
Message-ID: <amanip1A6Uoy3pr-@gondor.apana.org.au> (raw)
In-Reply-To: <20260715220013.416122-1-rosenp@gmail.com>
On Wed, Jul 15, 2026 at 03:00:13PM -0700, Rosen Penev wrote:
> Replace the open-coded omap_sham_get_res_of()/omap_sham_get_res_pdev()
> helpers and the #ifdef CONFIG_OF machinery with the managed
> devm_platform_get_and_ioremap_resource(), platform_get_irq() and
> device_get_match_data() helpers. The omap_sham_pdata_omap2 fallback is
> kept for the non-DT (legacy platform_device) case. This removes the
> manual resource copy and ioremap, simplifying probe.
>
> Assisted-by: opencode:hy3-free
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
> ---
> drivers/crypto/omap-sham.c | 104 +++++++------------------------------
> 1 file changed, 18 insertions(+), 86 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
prev parent reply other threads:[~2026-07-27 0:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 22:00 [PATCH] crypto: omap-sham: use devm_platform_get_and_ioremap_resource Rosen Penev
2026-07-27 0:34 ` Herbert Xu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=amanip1A6Uoy3pr-@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=davem@davemloft.net \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rosenp@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox