From: Mark Brown <broonie@kernel.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Florian Lobmaier <florian.lobmaier@ams.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
Samuel Ortiz <sameo@linux.intel.com>
Subject: Re: [PATCH] added ams AS3722 gpio support
Date: Fri, 16 Aug 2013 20:00:19 +0100 [thread overview]
Message-ID: <20130816190019.GR30073@sirena.org.uk> (raw)
In-Reply-To: <CACRpkdZLuEnYn35GGk-DJSLE64tHzQnRRw-1YmLsC1kcKc+Lcw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1404 bytes --]
On Fri, Aug 16, 2013 at 08:28:08PM +0200, Linus Walleij wrote:
> On Fri, Aug 16, 2013 at 8:20 PM, Mark Brown <broonie@kernel.org> wrote:
> > It's common to have inline wrappers for the regmap ops which take the
> > device specific struct and fish the regmap pointer out of it.
> I had no clue ... hm this is another side effect of not getting the
> whole patch set I guess.
Yeah. I think from a subsystem point of view it's probably best to just
not worry about this sort of functions and just assume it'll get caught
in the review of the MFD driver. If there's regmap helpers for the
subsystem it's a bit different of course.
> Hmmm I've been irritated about the "v" in "virq" because these
> interrupt numbers are and have always been Linux interrupt
> numbers, that they sometimes, on some systems, for the low
> IRQs, correspond to the hardware IRQ numbers is pure pattern
> matching and luck.
> They are no more "virtual" than any other IRQ numbers in the
> kernel. They are all "virtual" in a sense.
> Well nevermind that, it's probably just another try at tilting
> windmills to get it changed anyway.
Yeah, I agree with you there. If I'd seen irqdomain when I wrote the
function I'd probably have called it _create_mapping() but as it was I
wanted to distinguish which of the IRQ number spaces was being looked up
in. Possibly more trouble than it's worth to do the rename now though.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2013-08-16 22:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 14:59 [PATCH] added ams AS3722 gpio support Florian Lobmaier
2013-08-16 15:38 ` Linus Walleij
2013-08-16 18:20 ` Mark Brown
2013-08-16 18:28 ` Linus Walleij
2013-08-16 19:00 ` Mark Brown [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=20130816190019.GR30073@sirena.org.uk \
--to=broonie@kernel.org \
--cc=florian.lobmaier@ams.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=sameo@linux.intel.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