From: Arnd Bergmann <arnd@arndb.de>
To: Joshua Clayton <stillcompiling@gmail.com>
Cc: Grant Likely <grant.likely@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC] New of_io_release_and_unmap()
Date: Wed, 25 Feb 2015 20:23:21 +0100 [thread overview]
Message-ID: <7444779.882rMgOx5D@wuerfel> (raw)
In-Reply-To: <cover.1424889345.git.stillcompiling@gmail.com>
On Wednesday 25 February 2015 11:20:41 Joshua Clayton wrote:
> Hello folks,
> I notice that io_request_and_map has no inverse.
> I would like to add a new function to undo what it does.
>
What do you want to use this for? So far all users are in essential drivers
(clk and clocksource) that result in a boot failure if this goes wrong.
Normal drivers can probably always use devm_ioremap_resource(), which
has an automatic cleanup.
Arnd
next prev parent reply other threads:[~2015-02-25 19:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-25 19:20 [RFC] New of_io_release_and_unmap() Joshua Clayton
2015-02-25 19:20 ` [PATCH] of/address: Add of_io_release_and_unmap() Joshua Clayton
2015-02-25 19:23 ` Arnd Bergmann [this message]
2015-02-25 20:00 ` [RFC] New of_io_release_and_unmap() Joshua Clayton
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=7444779.882rMgOx5D@wuerfel \
--to=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=stillcompiling@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