mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Masney <bmasney@redhat.com>
To: Linus Walleij <linusw@kernel.org>,
	 Bartosz Golaszewski <brgl@kernel.org>
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Brian Masney <bmasney@redhat.com>
Subject: [PATCH 0/2] gpio: convert to subsys_platform_driver() and subsys_platform_driver_probe()
Date: Fri, 06 Nov 2026 19:08:43 -0500	[thread overview]
Message-ID: <20261106-gpio-subsys-v1-0-0785e37520ee@redhat.com> (raw)

Reduce boilerplate code in these drivers and convert them over to use
the macros subsys_platform_driver() and subsys_platform_driver_probe().

Signed-off-by: Brian Masney <bmasney@redhat.com>
---
Brian Masney (2):
      gpio: htc-egpio: convert to subsys_platform_driver_probe()
      gpio: tps6586x: convert to subsys_platform_driver()

 drivers/gpio/gpio-htc-egpio.c | 6 +-----
 drivers/gpio/gpio-tps6586x.c  | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)
---
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
base-tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
change-id: 20261106-gpio-subsys-d69c66fb9fff

Best regards,
--  
Brian Masney <bmasney@redhat.com>


             reply	other threads:[~2026-11-07  0:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-07  0:08 Brian Masney [this message]
2026-11-07  0:08 ` [PATCH 1/2] gpio: htc-egpio: convert to subsys_platform_driver_probe() Brian Masney
2026-11-07  0:08 ` [PATCH 2/2] gpio: tps6586x: 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=20261106-gpio-subsys-v1-0-0785e37520ee@redhat.com \
    --to=bmasney@redhat.com \
    --cc=brgl@kernel.org \
    --cc=linusw@kernel.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

all inboxes | Powered by JetHome®