mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Masney <bmasney@redhat.com>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Paul Cercueil <paul@crapouillou.net>,
	Linus Walleij <linusw@kernel.org>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	Andy Shevchenko <andy@kernel.org>,
	linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] pinctrl: ingenic: convert to subsys_platform_driver_probe()
Date: Mon, 9 Nov 2026 12:59:08 -0500	[thread overview]
Message-ID: <avIJ7KZxtTzUkpfJ@redhat.com> (raw)
In-Reply-To: <CAHp75VfW-DV_HcorM_XWWkBnc6YVrj0fBReFf=WgziVCOoEjzg@mail.gmail.com>

Hi Andy,

On Sat, Nov 07, 2026 at 03:58:23PM +0200, Andy Shevchenko wrote:
> On Sat, Nov 7, 2026 at 2:27 AM Brian Masney <bmasney@redhat.com> wrote:
> >
> > Reduce boilerplate code in this driver and convert it over to use the
> > macro subsys_platform_driver_probe().
> 
> Wasn't there already a set of patches from somebody for the same reason?

I just searched the linux-gpio archives and I see the effort back in
June to also add subsys_platform_driver(). I wasn't aware of that
effort, and it was never unfortunately merged into the driver core.

I got the macros added in 7.4-rc1, and I posted patches across the tree
to use the new macros.

Brian


  reply	other threads:[~2026-11-09 17:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-07  0:27 [PATCH 0/2] pinctrl: convert to subsys_platform_driver() Brian Masney
2026-11-07  0:27 ` [PATCH 1/2] pinctrl: ingenic: convert to subsys_platform_driver_probe() Brian Masney
2026-11-07 13:58   ` Andy Shevchenko
2026-11-09 17:59     ` Brian Masney [this message]
2026-11-09 10:03   ` Linus Walleij
2026-11-07  0:27 ` [PATCH 2/2] pinctrl: intel: convert to subsys_platform_driver() Brian Masney

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=avIJ7KZxtTzUkpfJ@redhat.com \
    --to=bmasney@redhat.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=andy@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=paul@crapouillou.net \
    /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®