From: William Breathitt Gray <wbg@kernel.org>
To: Rosen Penev <rosenp@gmail.com>
Cc: William Breathitt Gray <wbg@kernel.org>,
linux-iio@vger.kernel.org,
Patrick Havelange <patrick.havelange@essensium.com>,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Bill Wendling <morbo@google.com>,
Justin Stitt <justinstitt@google.com>,
linux-kernel@vger.kernel.org, llvm@lists.linux.dev
Subject: Re: [PATCH] counter: ftm-quaddec: use devm_platform_ioremap_resource
Date: Sun, 30 Aug 2026 17:55:42 -0400 [thread overview]
Message-ID: <20260830215543.1051817-1-wbg@kernel.org> (raw)
In-Reply-To: <20260714234350.892367-1-rosenp@gmail.com>
On Tue, Jul 14, 2026 at 04:43:50PM -0700, Rosen Penev wrote:
> Replace the open-coded platform_get_resource() plus devm_ioremap()
> sequence with devm_platform_ioremap_resource(), which fetches the
> resource, requests the region and maps it in one call. Switch the error
> check to IS_ERR()/PTR_ERR() and drop the now-unused struct resource
> pointer.
>
> The DT nodes (counter@29d0000 / counter@29e0000 in ls1021a.dtsi) each
> have a single 0x10000 reg region, so the region reservation added by
> devm_ioremap_resource() is exclusive and does not introduce overlap
> failures.
>
> Built for ARM (drivers/counter/ftm-quaddec.o) with LLVM=1.
>
> Assisted-by: opencode:hy3-free
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
Hi Rosen,
Patrick Havelange is stepping down from maintenance of this driver, so
ftm-quaddec is currently considered to be in an Orphan status.[^1] If a
new maintainer comes along in the future to maintain this driver, they
will be able to assist the review of this patch.
Sincerely,
William Breathitt Gray
[^1]: https://lore.kernel.org/all/20260830-orphan-counter-drivers-v1-2-3b10ab8b3876@kernel.org/
prev parent reply other threads:[~2026-08-30 21:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-14 23:43 Rosen Penev
2026-08-30 21:55 ` William Breathitt Gray [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=20260830215543.1051817-1-wbg@kernel.org \
--to=wbg@kernel.org \
--cc=justinstitt@google.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=patrick.havelange@essensium.com \
--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
all inboxes | Powered by JetHome®