diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2020-05-12 20:45:11 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-13 09:47:03 +0200 |
commit | 7721719313bc47e0eb90d45c00d67233d698bd2f (patch) | |
tree | 7877ff1a6db108c077200f76bc57046fbed96a20 /include | |
parent | 7c5c6561f0caf3cc4cb29640daa8224a3cb3f650 (diff) | |
download | barebox-7721719313bc47e0eb90d45c00d67233d698bd2f.tar.gz barebox-7721719313bc47e0eb90d45c00d67233d698bd2f.tar.xz |
phy: drop of_phy_simple_xlate() stub
The function of_phy_simple_xlate() is not used.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/phy/phy.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index e2fe42d90e..679ce6e420 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -139,8 +139,6 @@ struct phy *of_phy_get_by_phandle(struct device_d *dev, const char *phandle, u8 index); void phy_put(struct phy *phy); struct phy *of_phy_get(struct device_node *np, const char *con_id); -struct phy *of_phy_simple_xlate(struct device_d *dev, - struct of_phandle_args *args); struct phy *phy_create(struct device_d *dev, struct device_node *node, const struct phy_ops *ops); void phy_destroy(struct phy *phy); @@ -215,12 +213,6 @@ static inline struct phy *of_phy_get(struct device_node *np, const char *con_id) return ERR_PTR(-ENOSYS); } -static inline struct phy *of_phy_simple_xlate(struct device_d *dev, - struct of_phandle_args *args) -{ - return ERR_PTR(-ENOSYS); -} - static inline struct phy *phy_create(struct device_d *dev, struct device_node *node, const struct phy_ops *ops) |