[PATCH v4 04/13] phy: qualcomm: qcom-uniphy-pcie-usb3-28lp: Drop unused phy_to_dw_phy macro
George Moussalem via B4 Relay
devnull+george.moussalem.outlook.com at kernel.org
Tue Sep 8 02:40:57 PDT 2026
From: George Moussalem <george.moussalem at outlook.com>
Remove the unused phy_to_dw_phy() helper macro which is not referenced
anywhere in the driver.
Tested-by: Stanislaw Pal <kuncy7 at gmail.com>
Signed-off-by: George Moussalem <george.moussalem at outlook.com>
---
drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c b/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c
index b9ca6c1c177b..0256183fbcbd 100644
--- a/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c
+++ b/drivers/phy/qualcomm/phy-qcom-uniphy-pcie-usb3-28lp.c
@@ -72,8 +72,6 @@ struct qcom_uniphy {
int lanes;
};
-#define phy_to_dw_phy(x) container_of((x), struct qcom_uniphy, phy)
-
static const struct qcom_uniphy_regs ipq5018_pcie_regs[] = {
{
.offset = SSCG_CTRL_REG_4,
--
2.53.0
More information about the linux-phy
mailing list