]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: sky1: Use boolean true for is_rc field
authorHans Zhang <18255117159@163.com>
Sun, 15 Mar 2026 15:53:51 +0000 (23:53 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 26 Mar 2026 18:09:12 +0000 (23:39 +0530)
commit99d986686331ba3fd58dffb312e282d2bf81ee72
treea51df3669180e3a31aa8f247bf79ad8ccc4b1c1a
parent72e76b63d6ff6d1f96acccbfc6c118656f63e66a
PCI: sky1: Use boolean true for is_rc field

The is_rc field in struct cdns_pcie is of type bool. Replace the
integer assignment (1) with the boolean literal true to improve
code clarity and maintain consistency with the type definition.

Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260315155351.127078-1-18255117159@163.com
drivers/pci/controller/cadence/pci-sky1.c