]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI: imx6: Change imx_pcie_deassert_core_reset() return type to void
authorSherry Sun <sherry.sun@nxp.com>
Fri, 6 Mar 2026 02:12:47 +0000 (10:12 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 26 Mar 2026 17:09:19 +0000 (22:39 +0530)
commit192b8a1bf81c17852b6cf540c95b0a3bcc9c58c4
treea7c699d77f93ab5b582e16f4d08130578b4416ff
parent5f73cf1db829c21b7fd44a8d2587cd395b1b2d76
PCI: imx6: Change imx_pcie_deassert_core_reset() return type to void

The function imx_pcie_deassert_core_reset() always returns 0 and the
return value is not used meaningfully by its callers.

Change the return type from int to void to simplify the code and
remove unnecessary error handling paths. No functional change intended.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Link: https://patch.msgid.link/20260306021247.991976-1-sherry.sun@nxp.com
drivers/pci/controller/dwc/pci-imx6.c