forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 244b2c5ca8b14627e4a17755e5922221e121c771
kernel/drivers/gpu/drm/rockchip/rk628/rk628_combrxphy.c
....@@ -22,7 +22,6 @@
2222 struct regmap *regmap;
2323 struct clk *pclk;
2424 struct reset_control *rstc;
25
- enum phy_mode mode;
2625 bool is_cable_mode;
2726 };
2827
....@@ -921,17 +920,7 @@
921920 return 0;
922921 }
923922
924
-static int rk628_combrxphy_set_mode(struct phy *phy, enum phy_mode mode)
925
-{
926
- struct rk628_combrxphy *combrxphy = phy_get_drvdata(phy);
927
-
928
- combrxphy->mode = mode;
929
-
930
- return 0;
931
-}
932
-
933923 static const struct phy_ops rk628_combrxphy_ops = {
934
- .set_mode = rk628_combrxphy_set_mode,
935924 .power_on = rk628_combrxphy_power_on,
936925 .power_off = rk628_combrxphy_power_off,
937926 .owner = THIS_MODULE,