From: William Breathitt Gray <william.gray@linaro.org>
To: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH 0/6] isa: Ensure number of irq matches number of base
Date: Wed, 31 Aug 2022 09:54:02 -0400 [thread overview]
Message-ID: <Yw9n+m26FhEyxbNs@ishi> (raw)
In-Reply-To: <CAMRc=Md5Et-T++mZVw+jXnOWQS23o5hUOATYqs6b+pR1zr57Yw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2092 bytes --]
On Wed, Aug 31, 2022 at 02:35:51PM +0200, Bartosz Golaszewski wrote:
> On Fri, Aug 19, 2022 at 1:11 AM William Breathitt Gray
> <william.gray@linaro.org> wrote:
> >
> > Several ISA drivers support IRQ and call devm_request_irq() in their
> > device probe callbacks. These drivers typically provide an "irq" array
> > module parameter, which matches with the respective "base" array module
> > parameter, to specify what IRQ lines are used for each device. To reduce
> > code repetition, a module_isa_driver_with_irq helper macro is introduced
> > providing a check ensuring that the number of "irq" passed to the module
> > matches with the respective number of "base". The relevant ISA drivers
> > are updated accordingly to utilize the new module_isa_driver_with_irq
> > macro.
> >
> > William Breathitt Gray (6):
> > isa: Introduce the module_isa_driver_with_irq helper macro
> > counter: 104-quad-8: Ensure number of irq matches number of base
> > gpio: 104-dio-48e: Ensure number of irq matches number of base
> > gpio: 104-idi-48: Ensure number of irq matches number of base
> > gpio: 104-idio-16: Ensure number of irq matches number of base
> > gpio: ws16c48: Ensure number of irq matches number of base
> >
> > drivers/counter/104-quad-8.c | 5 ++--
> > drivers/gpio/gpio-104-dio-48e.c | 5 ++--
> > drivers/gpio/gpio-104-idi-48.c | 5 ++--
> > drivers/gpio/gpio-104-idio-16.c | 5 ++--
> > drivers/gpio/gpio-ws16c48.c | 5 ++--
> > include/linux/isa.h | 52 ++++++++++++++++++++++++++-------
> > 6 files changed, 57 insertions(+), 20 deletions(-)
> >
> >
> > base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868
> > --
> > 2.37.2
> >
>
> Looks good to me, do you send your PRs directly to Linus? Do you want
> me to take this through the GPIO tree?
>
> Bart
Hi Bart,
Would you take this through the GPIO tree? I'm planning on submitting
some more patches later for these GPIO drivers so it will be convenient
to keep all these changes within the same tree.
Thanks,
William Breathitt Gray
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2022-08-31 13:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-18 16:28 [PATCH 0/6] isa: Ensure number of irq matches number of base William Breathitt Gray
2022-08-18 16:28 ` [PATCH 1/6] isa: Introduce the module_isa_driver_with_irq helper macro William Breathitt Gray
2022-08-31 22:53 ` William Breathitt Gray
2022-09-15 8:29 ` Bartosz Golaszewski
2022-08-18 16:28 ` [PATCH 2/6] counter: 104-quad-8: Ensure number of irq matches number of base William Breathitt Gray
2022-08-31 22:54 ` William Breathitt Gray
2022-08-18 16:28 ` [PATCH 3/6] gpio: 104-dio-48e: " William Breathitt Gray
2022-08-18 16:28 ` [PATCH 4/6] gpio: 104-idi-48: " William Breathitt Gray
2022-08-18 16:28 ` [PATCH 5/6] gpio: 104-idio-16: " William Breathitt Gray
2022-08-18 16:28 ` [PATCH 6/6] gpio: ws16c48: " William Breathitt Gray
2022-08-31 12:35 ` [PATCH 0/6] isa: " Bartosz Golaszewski
2022-08-31 13:54 ` William Breathitt Gray [this message]
2022-08-31 14:00 ` Bartosz Golaszewski
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=Yw9n+m26FhEyxbNs@ishi \
--to=william.gray@linaro.org \
--cc=brgl@bgdev.pl \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).