From: John Crispin Date: Fri, 2 Oct 2015 10:52:13 +0000 (+0000) Subject: ramips: remove debug code from usb phy driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=62bf1e64719042008e1590cee15c1fe441d7c3b2;p=openwrt%2Fsvn-archive%2Fopenwrt.git ramips: remove debug code from usb phy driver Signed-off-by: John Crispin Backport of r46659 SVN-Revision: 47096 --- diff --git a/target/linux/ramips/patches-3.18/0037-USB-phy-add-ralink-SoC-driver.patch b/target/linux/ramips/patches-3.18/0037-USB-phy-add-ralink-SoC-driver.patch index 1dd866103a..5a7d416726 100644 --- a/target/linux/ramips/patches-3.18/0037-USB-phy-add-ralink-SoC-driver.patch +++ b/target/linux/ramips/patches-3.18/0037-USB-phy-add-ralink-SoC-driver.patch @@ -1,6 +1,6 @@ --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig -@@ -239,6 +239,11 @@ config PHY_XGENE +@@ -239,6 +239,11 @@ help This option enables support for APM X-Gene SoC multi-purpose PHY. @@ -14,14 +14,14 @@ depends on RESET_CONTROLLER --- a/drivers/phy/Makefile +++ b/drivers/phy/Makefile -@@ -31,3 +31,4 @@ obj-$(CONFIG_PHY_ST_SPEAR1340_MIPHY) += +@@ -31,3 +31,4 @@ obj-$(CONFIG_PHY_XGENE) += phy-xgene.o obj-$(CONFIG_PHY_STIH407_USB) += phy-stih407-usb.o obj-$(CONFIG_PHY_STIH41X_USB) += phy-stih41x-usb.o +obj-$(CONFIG_PHY_RALINK_USB) += phy-ralink-usb.o --- /dev/null +++ b/drivers/phy/phy-ralink-usb.c -@@ -0,0 +1,177 @@ +@@ -0,0 +1,175 @@ +/* + * Allwinner ralink USB phy driver + * @@ -168,7 +168,6 @@ + struct phy_provider *phy_provider; + const struct of_device_id *match; + -+ printk("%s:%s[%d]\n", __FILE__, __func__, __LINE__); + match = of_match_device(ralink_usb_phy_of_match, &pdev->dev); + phy_clk = (int) match->data; + @@ -182,7 +181,6 @@ + } + + phy_provider = devm_of_phy_provider_register(dev, ralink_usb_phy_xlate); -+printk("%s:%s[%d]\n", __FILE__, __func__, __LINE__); + + return PTR_ERR_OR_ZERO(phy_provider); +}