linux/drivers/phy/renesas
Yoshihiro Shimoda 249abaf3bf phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
Even if device_create_file() returns error code,
rcar_gen3_phy_usb2_probe() will return zero because the "ret" is
variable shadowing.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/r/202312161021.gOLDl48K-lkp@intel.com/
Fixes: 441a681b88 ("phy: rcar-gen3-usb2: fix implementation for runtime PM")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240105093703.3359949-1-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-01-24 11:22:20 +05:30
..
Kconfig phy: renesas: phy-rcar-gen2: use select for GENERIC_PHY 2023-12-21 22:39:34 +05:30
Makefile phy: renesas: Add Renesas Ethernet SERDES driver for R-Car S4-8 2022-11-10 12:56:09 +05:30
phy-rcar-gen2.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-rcar-gen3-pcie.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-rcar-gen3-usb2.c phy: renesas: rcar-gen3-usb2: Fix returning wrong error code 2024-01-24 11:22:20 +05:30
phy-rcar-gen3-usb3.c phy: renesas: phy-rcar-gen3-usb3: Convert to platform remove callback returning void 2023-03-20 18:14:57 +05:30
r8a779f0-ether-serdes.c phy: renesas: r8a779f0-ether-serdes: Add .exit() ops 2023-10-13 15:43:30 +05:30