From: Helge Deller <deller@gmx.de>
To: Amin GATTOUT <amin.gattout@gmail.com>,
Alexey Charkov <alchark@gmail.com>,
Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: Re: [PATCH] fbdev: wmt_ge_rops: use devm_platform_ioremap_resource()
Date: Thu, 5 Mar 2026 09:26:08 +0100 [thread overview]
Message-ID: <1838a3a4-764b-49dd-88ea-50ff84ca2e6b@gmx.de> (raw)
In-Reply-To: <20260304-master-v1-1-2bfeb1b9559f@gmail.com>
On 3/4/26 18:10, Amin GATTOUT wrote:
> Replace the open-coded platform_get_resource() + ioremap() pair with
> devm_platform_ioremap_resource(), which requests the memory region and
> maps it in a single call, with automatic cleanup on device removal.
>
> Also reset regbase to NULL in remove() so that the single-instance
> guard in probe() works correctly if the device is re-probed.
>
> Signed-off-by: Amin GATTOUT <amin.gattout@gmail.com>
> ---
> drivers/video/fbdev/wmt_ge_rops.c | 18 ++++--------------
> 1 file changed, 4 insertions(+), 14 deletions(-)
applied to fbdev git tree.
Thanks!
Helge
prev parent reply other threads:[~2026-03-05 8:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-04 17:10 Amin GATTOUT
2026-03-05 8:26 ` Helge Deller [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=1838a3a4-764b-49dd-88ea-50ff84ca2e6b@gmx.de \
--to=deller@gmx.de \
--cc=alchark@gmail.com \
--cc=amin.gattout@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tzimmermann@suse.de \
/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®