linux/drivers/bus/mhi/ep
Manivannan Sadhasivam f2d1643ddc bus: mhi: ep: Test for non-zero return value where applicable
Instead of testing for negative error code, just test for non-zero return
for cases where there is no positive return value. This helps to maintain
code uniformity.

No functional change.

Reported-by: Bjorn Helgaas <helgaas@kernel.org>
Closes: https://lore.kernel.org/linux-pci/20260227191510.GA3904799@bhelgaas
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Link: https://patch.msgid.link/20260302055021.8616-1-manivannan.sadhasivam@oss.qualcomm.com
2026-03-17 15:35:20 +05:30
..
internal.h bus: mhi: ep: Make mhi_ep_bus_type const 2025-10-15 16:56:03 +05:30
Kconfig
main.c bus: mhi: ep: Test for non-zero return value where applicable 2026-03-17 15:35:20 +05:30
Makefile bus: mhi: ep: Add support for managing MHI state machine 2022-04-26 13:17:41 +02:00
mmio.c bus: mhi: ep: Add support for managing MMIO registers 2022-04-26 13:17:41 +02:00
ring.c bus: mhi: ep: Test for non-zero return value where applicable 2026-03-17 15:35:20 +05:30
sm.c bus: mhi: ep: Change state_lock to mutex 2023-01-27 12:31:41 +05:30