phy: tegra: Don't warn on probe deferral
Jon Hunter
maintainerPATCH 1/1 phy: tegra: Don't warn on probe deferral
Deferred probe is an expected return value for devm_regulator_bulk_get(). Given that the driver deals with it properly, there's no need to output a warning that may potentially confuse users.
--- drivers/phy/tegra/xusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/tegra/xusb.c +1 -1
@@ -1200,7 +1200,7 @@ static int tegra_xusb_padctl_probe(struct platform_device *pdev) err =devm_regulator_bulk_get (&pdev->dev, padctl->soc->num_supplies, padctl->supplies);if (err <0 ) { -dev_err (&pdev->dev,"failed to get regulators: %d\n" , err); +dev_err_probe (&pdev->dev, err,"failed to get regulators\n" ); goto remove; }
Signature · 1 line
2.25.1
Quoted 15 lines · Jon Hunter
Deferred probe is an expected return value for
devm_regulator_bulk_get(). Given that the driver deals with it properly, there's no need to output a warning that may potentially confuse users.Signed-off-by Jon Hunter <[email protected]>--- drivers/phy/tegra/xusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/phy/tegra/xusb.c +0
-0
drivers/phy/tegra/xusb.c static int tegra_xusb_padctl_probe(struct platform_device *pdev) · line 1206
Quoted 8 lines
drivers/phy/tegra/xusb.c +1
-1@@ -1200,7 +1200,7 @@ static int tegra_xusb_padctl_probe(struct platform_device *pdev) err =devm_regulator_bulk_get (&pdev->dev, padctl->soc->num_supplies, padctl->supplies);if (err <0 ) { -dev_err (&pdev->dev,"failed to get regulators: %d\n" , err); +dev_err_probe (&pdev->dev, err,"failed to get regulators\n" ); goto remove; }
Quoted 8 lines · Jon Hunter
Deferred probe is an expected return value for
devm_regulator_bulk_get(). Given that the driver deals with it properly, there's no need to output a warning that may potentially confuse users.Signed-off-by Jon Hunter <[email protected]>--- drivers/phy/tegra/xusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 3 lines · Jon Hunter
Deferred probe is an expected return value for
devm_regulator_bulk_get(). Given that the driver deals with it properly, there's no need to output a warning that may potentially confuse users.
Applied, thanks
Signature · 1 line
~Vinod