mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
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
This commit is contained in:
parent
5f73cf1db8
commit
192b8a1bf8
1 changed files with 3 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue