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 838f7e328b5556dc9e1d7ab2e7562cf352dd7bb0..c03878fdf8a7f5a0f574e7df97796f73541e8d93 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 49df846c31e6e1cc958cc39c29c40b04fd353bda..45701b498efc11cad1808673e7d014aa9d952bf3 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 c5d8eedab4ea0fa1310f74f7255026ccb65413c5..e6bffb0e2da322228d187e09c68f9d07c4521af1 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 62e9007137c93157ad0ea8d5e03e2c4163215ccf..28b75772cd0fecfebe6da2bf0325591f140ab42e 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 c50ebe8d19bc15d21680b374010cfdd7d6e86aad..08e0799e88324de6979f79c139f3e5140c427620 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);