phy: qcom-qmp: silence noisy probe
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 7 Sep 2022 11:07:23 +0000 (13:07 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 20 Sep 2022 05:58:08 +0000 (11:28 +0530)
Drivers should in general not log anything during unless there are
errors.

Drop the pointless registration info message from the QMP drivers.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220907110728.19092-12-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c
drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
drivers/phy/qualcomm/phy-qcom-qmp-usb.c

index 838f7e3..c03878f 100644 (file)
@@ -2972,8 +2972,6 @@ static int qcom_qmp_phy_combo_probe(struct platform_device *pdev)
        }
 
        phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
-       if (!IS_ERR(phy_provider))
-               dev_info(dev, "Registered Qcom-QMP phy\n");
 
        return PTR_ERR_OR_ZERO(phy_provider);
 
index 49df846..45701b4 100644 (file)
@@ -963,8 +963,6 @@ static int qcom_qmp_phy_pcie_msm8996_probe(struct platform_device *pdev)
        }
 
        phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
-       if (!IS_ERR(phy_provider))
-               dev_info(dev, "Registered Qcom-QMP phy\n");
 
        return PTR_ERR_OR_ZERO(phy_provider);
 
index c5d8eed..e6bffb0 100644 (file)
@@ -2448,8 +2448,6 @@ static int qmp_pcie_probe(struct platform_device *pdev)
        }
 
        phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
-       if (!IS_ERR(phy_provider))
-               dev_info(dev, "Registered Qcom-QMP phy\n");
 
        return PTR_ERR_OR_ZERO(phy_provider);
 
index 62e9007..28b7577 100644 (file)
@@ -1287,8 +1287,6 @@ static int qcom_qmp_phy_ufs_probe(struct platform_device *pdev)
        }
 
        phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
-       if (!IS_ERR(phy_provider))
-               dev_info(dev, "Registered Qcom-QMP phy\n");
 
        return PTR_ERR_OR_ZERO(phy_provider);
 
index c50ebe8..08e0799 100644 (file)
@@ -2859,8 +2859,6 @@ static int qcom_qmp_phy_usb_probe(struct platform_device *pdev)
        }
 
        phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
-       if (!IS_ERR(phy_provider))
-               dev_info(dev, "Registered Qcom-QMP phy\n");
 
        return PTR_ERR_OR_ZERO(phy_provider);