PCI/ASPM: Use boolean type for aspm_disabled and aspm_force
authorHans Zhang <18255117159@163.com>
Sat, 17 May 2025 15:49:39 +0000 (23:49 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 17 Jun 2025 22:31:43 +0000 (17:31 -0500)
commitc1842b98c9f1ac1aac468253febc437f880bb8b5
treeadf80aacb6928f4c7a8ee8e14f0593b035b56b2c
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
PCI/ASPM: Use boolean type for aspm_disabled and aspm_force

The aspm_disabled and aspm_force variables are used as boolean flags.
Change their type from int to bool and update assignments to use
true/false instead of 1/0. This improves code clarity.

Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://patch.msgid.link/20250517154939.139237-1-18255117159@163.com
drivers/pci/pcie/aspm.c