Re: [PATCH v5 01/15] PCI/pwrctrl: pwrseq: Rename private struct and pointers for consistency

From: Bartosz Golaszewski

Date: Thu Jan 15 2026 - 09:23:56 EST


On Thu, 15 Jan 2026 08:28:53 +0100, Manivannan Sadhasivam via B4 Relay
<devnull+manivannan.sadhasivam.oss.qualcomm.com@xxxxxxxxxx> said:
> From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
>
> Previously the pwrseq, tc9563, and slot pwrctrl drivers used different
> naming conventions for their private data structs and pointers to them,
> which makes patches hard to read:
>
> Previous names New names
> ------------------------------------ ----------------------------------
> struct pci_pwrctrl_pwrseq_data { struct pci_pwrctrl_pwrseq {
> struct pci_pwrctrl ctx; struct pci_pwrctrl pwrctrl;
> struct pci_pwrctrl_pwrseq_data *data struct pci_pwrctrl_pwrseq *pwrseq
>
> struct tc9563_pwrctrl_ctx { struct pci_pwrctrl_tc9563 {
> struct tc9563_pwrctrl_ctx *ctx struct pci_pwrctrl_tc9563 *tc9563
>
> struct pci_pwrctrl_slot_data { struct pci_pwrctrl_slot {
> struct pci_pwrctrl ctx; struct pci_pwrctrl pwrctrl;
> struct pci_pwrctrl_slot_data *slot struct pci_pwrctrl_slot *slot
>
> Rename "struct pci_pwrctrl_pwrseq_data" to "pci_pwrctrl_pwrseq".
>
> Rename the "struct pci_pwrctrl ctx" member to "struct pci_pwrctrl pwrctrl".
>
> Rename pointers from "struct pci_pwrctrl_pwrseq_data *data" to
> "struct pci_pwrctrl_pwrseq *pwrseq".
>
> No functional change intended.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>