]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI/pwrctrl: tc9563: Rename private struct and pointers for consistency
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 15 Jan 2026 07:28:58 +0000 (12:58 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 16 Jan 2026 19:23:37 +0000 (13:23 -0600)
commit370d2de0fb65ed954c0b6375e36d0fa12c9323be
treef4b4c2ec4772c8285e0cc9ff840e6be992be8fb4
parentc105a3ed6167b6776076a6d3d046568121d2f14b
PCI/pwrctrl: tc9563: Rename private struct and pointers for consistency

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.

Rename struct and variables to be shorter and more specific:

  struct tc9563_pwrctrl_ctx      -> struct tc9563_pwrctrl
  struct tc9563_pwrctrl_ctx *ctx -> struct tc9563_pwrctrl *tc9563

No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260115-pci-pwrctrl-rework-v5-6-9d26da3ce903@oss.qualcomm.com
drivers/pci/pwrctrl/pci-pwrctrl-tc9563.c