From: Kamil Debski Date: Thu, 6 Mar 2014 11:16:46 +0000 (+0100) Subject: phy: core: Add an exported of_phy_get function X-Git-Tag: v3.15-rc1~137^2~22^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3f3b2c777a2f7d20c9826a190ffd5bbd288f8f;p=pandora-kernel.git 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. Signed-off-by: Kamil Debski Reviewed-by: Tomasz Figa Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed