From: Vaibhav Gupta <vaibhavgupta40@gmail.com>
To: Bjorn Helgaas <helgaas@kernel.org>, Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Michael Buesch <m@bues.ch>,
Linus Walleij <linus.walleij@linaro.org>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6] gpio: bt8xx: use generic power management
Date: Thu, 23 Oct 2025 07:49:29 +0000 [thread overview]
Message-ID: <aPneCYtkbxWp4Hox@gmail.com> (raw)
In-Reply-To: <20251022192901.GA1265216@bhelgaas>
> >
> > This says it's a v6 but I have no idea what changed since v1. Please
> > provide a changelog for every version when submitting patches.
> >
> > Bjorn: does this look good to you?
>
> Yes, it looks good to me.
>
> Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
>
> FWIW, here's the diff from v1 to v6. Mostly just iterating on
> compile warning nits:
>
> diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c
> index e8d0c67bb618..324eeb77dbd5 100644
> --- a/drivers/gpio/gpio-bt8xx.c
> +++ b/drivers/gpio/gpio-bt8xx.c
> @@ -52,10 +52,8 @@ struct bt8xxgpio {
> struct pci_dev *pdev;
> struct gpio_chip gpio;
>
> -#ifdef CONFIG_PM
> u32 saved_outen;
> u32 saved_data;
> -#endif
> };
>
> #define bgwrite(dat, adr) writel((dat), bg->mmio+(adr))
> @@ -224,7 +222,8 @@ static void bt8xxgpio_remove(struct pci_dev *pdev)
> pci_disable_device(pdev);
> }
>
> -static int __maybe_unused bt8xxgpio_suspend(struct device *dev)
> +
> +static int bt8xxgpio_suspend(struct device *dev)
> {
> struct pci_dev *pdev = to_pci_dev(dev);
> struct bt8xxgpio *bg = pci_get_drvdata(pdev);
> @@ -241,7 +240,7 @@ static int __maybe_unused bt8xxgpio_suspend(struct device *dev)
> return 0;
> }
>
> -static int __maybe_unused bt8xxgpio_resume(struct device *dev)
> +static int bt8xxgpio_resume(struct device *dev)
> {
> struct pci_dev *pdev = to_pci_dev(dev);
> struct bt8xxgpio *bg = pci_get_drvdata(pdev);
> @@ -258,7 +257,7 @@ static int __maybe_unused bt8xxgpio_resume(struct device *dev)
> return 0;
> }
>
> -static SIMPLE_DEV_PM_OPS(bt8xxgpio_pm_ops, bt8xxgpio_suspend, bt8xxgpio_resume);
> +static DEFINE_SIMPLE_DEV_PM_OPS(bt8xxgpio_pm_ops, bt8xxgpio_suspend, bt8xxgpio_resume);
>
> static const struct pci_device_id bt8xxgpio_pci_tbl[] = {
> { PCI_DEVICE(PCI_VENDOR_ID_BROOKTREE, PCI_DEVICE_ID_BT848) },
Hello Bjorn!
Thanks for the review and mentioning the diff between v1 and v6.
Hey Randy!
Please let me know if the diff mentioned by Bjorn is enough or should I send a
new patch-mail describing the v1-v6 diff?
Best regards,
Vaibhav
next prev parent reply other threads:[~2025-10-23 7:49 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-10 10:53 [PATCH v1] driver: gpio-bt8xx: use generic PCI PM Vaibhav Gupta
2025-10-11 1:43 ` kernel test robot
2025-10-11 10:26 ` Michael Büsch
2025-10-11 11:32 ` Vaibhav Gupta
2025-10-11 12:31 ` Michael Büsch
2025-10-11 12:37 ` Vaibhav Gupta
2025-10-11 12:57 ` [PATCH v3] " Vaibhav Gupta
2025-10-13 11:04 ` [PATCH v4] driver: gpio: bt8xx: " Vaibhav Gupta
2025-10-11 12:32 ` [PATCH v2] driver: gpio-bt8xx: " Vaibhav Gupta
2025-10-13 9:41 ` [PATCH v1] " Bartosz Golaszewski
2025-10-13 11:03 ` Vaibhav Gupta
2025-10-13 15:36 ` Bartosz Golaszewski
2025-10-13 15:51 ` Vaibhav Gupta
2025-10-13 15:52 ` [PATCH v5] gpio: bt8xx: " Vaibhav Gupta
2025-10-13 17:43 ` Bjorn Helgaas
2025-10-16 16:36 ` [PATCH v6] gpio: bt8xx: use generic power management Vaibhav Gupta
2025-10-21 8:48 ` Bartosz Golaszewski
2025-10-22 19:29 ` Bjorn Helgaas
2025-10-23 7:49 ` Vaibhav Gupta [this message]
2025-10-23 7:55 ` Bartosz Golaszewski
2025-10-23 7:58 ` Vaibhav Gupta
2025-10-23 7:59 ` Bartosz Golaszewski
2025-10-16 16:37 ` [PATCH v5] gpio: bt8xx: use generic PCI PM Vaibhav Gupta
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=aPneCYtkbxWp4Hox@gmail.com \
--to=vaibhavgupta40@gmail.com \
--cc=brgl@bgdev.pl \
--cc=helgaas@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m@bues.ch \
/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).