2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/pci/controller/dwc
Hans Zhang 032f05be51 PCI: dwc: Simplify the return value of PTM debugfs functions returning bool
Replace redundant ternary conditional expressions with direct boolean
returns in PTM debugfs functions. Specifically change this pattern:

    return (condition) ? true : false;

to the simpler:

    return condition;

Signed-off-by: Hans Zhang <18255117159@163.com>
[mani: subject rewording]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Link: https://patch.msgid.link/20250612161226.950937-1-18255117159@163.com
2025-06-25 15:56:08 -06:00
..
Kconfig Merge branch 'pci/controller/dwc' 2025-03-27 13:14:49 -05:00
Makefile Merge branch 'pci/controller/dwc' 2025-03-27 13:14:49 -05:00
pci-dra7xx.c pci-v6.16-changes 2025-06-04 11:26:17 -07:00
pci-exynos.c PCI: dwc: Return bool from link up check 2025-05-13 10:12:59 +01:00
pci-imx6.c PCI: imx6: Save and restore the LUT setting during suspend/resume for i.MX95 SoC 2025-04-27 17:19:24 +05:30
pci-keystone.c pci-v6.16-changes 2025-06-04 11:26:17 -07:00
pci-layerscape-ep.c PCI: layerscape-ep: Use the generic dw_pcie_ep_linkdown() API to handle Link Down event 2024-07-09 18:21:11 -05:00
pci-layerscape.c PCI: layerscape: Fix arg_count to syscon_regmap_lookup_by_phandle_args() 2025-03-27 13:11:14 -05:00
pci-meson.c PCI: dwc: Return bool from link up check 2025-05-13 10:12:59 +01:00
pcie-al.c PCI: al: Check IORESOURCE_BUS existence during probe 2024-05-28 11:14:24 -05:00
pcie-amd-mdb.c PCI: Switch to irq_domain_create_linear() 2025-05-16 21:06:10 +02:00
pcie-armada8k.c PCI: dwc: Return bool from link up check 2025-05-13 10:12:59 +01:00
pcie-artpec6.c PCI: artpec6: Implement dw_pcie_ep operation get_features 2024-12-18 21:51:47 +00:00
pcie-bt1.c PCI: controller: Switch back to struct platform_driver::remove() 2024-10-03 16:44:49 -05:00
pcie-designware-debugfs.c PCI: dwc: Simplify the return value of PTM debugfs functions returning bool 2025-06-25 15:56:08 -06:00
pcie-designware-ep.c Merge branch 'pci/ptm-debugfs' 2025-06-04 10:50:44 -05:00
pcie-designware-host.c Merge branch 'pci/ptm-debugfs' 2025-06-04 10:50:44 -05:00
pcie-designware-plat.c PCI: dwc: ep: Remove dw_pcie_ep_init_notify() wrapper 2024-07-09 18:20:21 -05:00
pcie-designware.c Merge branch 'pci/ptm-debugfs' 2025-06-04 10:50:44 -05:00
pcie-designware.h Merge branch 'pci/ptm-debugfs' 2025-06-04 10:50:44 -05:00
pcie-dw-rockchip.c pci-v6.16-changes 2025-06-04 11:26:17 -07:00
pcie-fu740.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-hisi.c PCI: host-common: Convert to library for host controller drivers 2025-05-30 12:21:57 -05:00
pcie-histb.c PCI: dwc: Return bool from link up check 2025-05-13 10:12:59 +01:00
pcie-intel-gw.c PCI: intel-gw: Remove intel_pcie_cpu_addr() 2025-03-24 14:58:35 -05:00
pcie-keembay.c PCI: dwc: Return bool from link up check 2025-05-13 10:12:59 +01:00
pcie-kirin.c PCI: dwc: Return bool from link up check 2025-05-13 10:12:59 +01:00
pcie-qcom-common.c PCI: qcom: Add RX lane margining settings for 16.0 GT/s 2024-09-13 14:44:59 +00:00
pcie-qcom-common.h PCI: qcom: Add RX lane margining settings for 16.0 GT/s 2024-09-13 14:44:59 +00:00
pcie-qcom-ep.c Merge branch 'pci/ptm-debugfs' 2025-06-04 10:50:44 -05:00
pcie-qcom.c Merge branch 'pci/controller/qcom' 2025-06-04 10:50:42 -05:00
pcie-rcar-gen4.c Merge branch 'pci/controller/rcar-gen4' 2025-06-04 10:50:42 -05:00
pcie-spear13xx.c PCI: dwc: Return bool from link up check 2025-05-13 10:12:59 +01:00
pcie-tegra194-acpi.c PCI: dwc: Simplify in/outbound iATU setup methods 2022-08-01 15:15:09 -05:00
pcie-tegra194.c Merge branch 'pci/controller/tegra194' 2025-06-04 10:50:43 -05:00
pcie-uniphier-ep.c PCI: dwc: ep: Remove dw_pcie_ep_init_notify() wrapper 2024-07-09 18:20:21 -05:00
pcie-uniphier.c pci-v6.16-changes 2025-06-04 11:26:17 -07:00
pcie-visconti.c PCI: dwc: Return bool from link up check 2025-05-13 10:12:59 +01:00