Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a607acfc authored by Kamil Debski's avatar Kamil Debski Committed by Yaniv Gardi
Browse files

phy: core: Add an exported of_phy_get function



Previously the of_phy_get function took a struct device * and
was declared static. It was impossible to call it from
another driver and thus it was impossible to get phy defined
for a given node. The old function was renamed to _of_phy_get
and was left for internal use. of_phy_get function was added
and it was exported. The function enables to get a phy for
a given device tree node.

Change-Id: I7d8a71001fd7925f8b45a796498b6a04ae1d5e0f
Signed-off-by: default avatarKamil Debski <k.debski@samsung.com>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Git-commit: 0b3f3b2c777a2f7d20c9826a190ffd5bbd288f8f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent b797edd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment