Skip to content

Commit 95463cb

Browse files
jhovoldvinodkoul
authored andcommitted
phy: drop probe registration printks
Drivers should generally be quiet on successful probe, but this is not followed by some PHY drivers, for example: snps-eusb2-hsphy 88e1000.phy: Registered Snps-eUSB2 phy qcom-eusb2-repeater c432000.spmi:pmic@7:phy@fd00: Registered Qcom-eUSB2 repeater qcom-eusb2-repeater c432000.spmi:pmic@a:phy@fd00: Registered Qcom-eUSB2 repeater qcom-eusb2-repeater c432000.spmi:pmic@b:phy@fd00: Registered Qcom-eUSB2 repeater snps-eusb2-hsphy fd3000.phy: Registered Snps-eUSB2 phy snps-eusb2-hsphy fd9000.phy: Registered Snps-eUSB2 phy snps-eusb2-hsphy fde000.phy: Registered Snps-eUSB2 phy snps-eusb2-hsphy 88e0000.phy: Registered Snps-eUSB2 phy snps-eusb2-hsphy 88e2000.phy: Registered Snps-eUSB2 phy Drop (or demote to debug level) unnecessary registration info messages to make boot logs a little less noisy. Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 351e07e commit 95463cb

12 files changed

+4
-21
lines changed

drivers/phy/broadcom/phy-bcm-ns2-pcie.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ static int ns2_pci_phy_probe(struct mdio_device *mdiodev)
6161
return PTR_ERR(provider);
6262
}
6363

64-
dev_info(dev, "%s PHY registered\n", dev_name(dev));
65-
6664
return 0;
6765
}
6866

drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ static int ns2_drd_phy_probe(struct platform_device *pdev)
395395

396396
platform_set_drvdata(pdev, driver);
397397

398-
dev_info(dev, "Registered NS2 DRD Phy device\n");
399398
queue_delayed_work(system_power_efficient_wq, &driver->wq_extcon,
400399
driver->debounce_jiffies);
401400

drivers/phy/broadcom/phy-bcm-sr-pcie.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,6 @@ static int sr_pcie_phy_probe(struct platform_device *pdev)
277277
return PTR_ERR(provider);
278278
}
279279

280-
dev_info(dev, "Stingray PCIe PHY driver initialized\n");
281-
282280
return 0;
283281
}
284282

drivers/phy/broadcom/phy-brcm-sata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ static int brcm_sata_phy_probe(struct platform_device *pdev)
832832
return PTR_ERR(provider);
833833
}
834834

835-
dev_info(dev, "registered %d port(s)\n", count);
835+
dev_dbg(dev, "registered %d port(s)\n", count);
836836

837837
return 0;
838838
}

drivers/phy/marvell/phy-pxa-usb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ static int pxa_usb_phy_probe(struct platform_device *pdev)
325325
phy_create_lookup(pxa_usb_phy->phy, "usb", "mv-otg");
326326
}
327327

328-
dev_info(dev, "Marvell PXA USB PHY");
329328
return 0;
330329
}
331330

drivers/phy/phy-snps-eusb2.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,6 @@ static int snps_eusb2_hsphy_probe(struct platform_device *pdev)
599599
if (IS_ERR(phy_provider))
600600
return PTR_ERR(phy_provider);
601601

602-
dev_info(dev, "Registered Snps-eUSB2 phy\n");
603-
604602
return 0;
605603
}
606604

drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,6 @@ static int eusb2_repeater_probe(struct platform_device *pdev)
264264
if (IS_ERR(phy_provider))
265265
return PTR_ERR(phy_provider);
266266

267-
dev_info(dev, "Registered Qcom-eUSB2 repeater\n");
268-
269267
return 0;
270268
}
271269

drivers/phy/qualcomm/phy-qcom-m31.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,6 @@ static int m31usb_phy_probe(struct platform_device *pdev)
305305
phy_set_drvdata(qphy->phy, qphy);
306306

307307
phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
308-
if (!IS_ERR(phy_provider))
309-
dev_info(dev, "Registered M31 USB phy\n");
310308

311309
return PTR_ERR_OR_ZERO(phy_provider);
312310
}

drivers/phy/qualcomm/phy-qcom-qusb2.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,9 +1114,7 @@ static int qusb2_phy_probe(struct platform_device *pdev)
11141114
phy_set_drvdata(generic_phy, qphy);
11151115

11161116
phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
1117-
if (!IS_ERR(phy_provider))
1118-
dev_info(dev, "Registered Qcom-QUSB2 phy\n");
1119-
else
1117+
if (IS_ERR(phy_provider))
11201118
pm_runtime_disable(dev);
11211119

11221120
return PTR_ERR_OR_ZERO(phy_provider);

drivers/phy/st/phy-stih407-usb.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ static int stih407_usb2_picophy_probe(struct platform_device *pdev)
139139
if (IS_ERR(phy_provider))
140140
return PTR_ERR(phy_provider);
141141

142-
dev_info(dev, "STiH407 USB Generic picoPHY driver probed!");
143-
144142
return 0;
145143
}
146144

0 commit comments

Comments
 (0)