]> git.itanic.dy.fi Git - linux-stable/commit
PCI: Simplify pcie_capability_clear_and_set_word() to ..._clear_word()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 26 Oct 2023 12:19:23 +0000 (15:19 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 26 Oct 2023 16:21:13 +0000 (11:21 -0500)
commit0fce6e5c87faec2c8bf28d2abc8cb595f4e244b6
treec4bbe93ae25d0229401caa35cb9aef484894f684
parentc9501d268944d6c0475ecb3e740a084a7da9cbfe
PCI: Simplify pcie_capability_clear_and_set_word() to ..._clear_word()

When using pcie_capability_clear_and_set_word() but not actually *setting*
anything, use pcie_capability_clear_word() instead.

Link: https://lore.kernel.org/r/20231026121924.2164-1-ilpo.jarvinen@linux.intel.com
Link: https://lore.kernel.org/r/20231026121924.2164-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
[bhelgaas: squash]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aspm.c
drivers/pci/quirks.c