From: Arun Ramamurthy Date: Wed, 22 Apr 2015 23:04:11 +0000 (-0700) Subject: phy: core: Add devm_of_phy_get_by_index to phy-core X-Git-Tag: omap-for-v4.3/legacy-v2-signed~119^2~14^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6be109b31ccdb9c98e7be12687171f6602527a5d;p=pandora-kernel.git phy: core: Add devm_of_phy_get_by_index to phy-core Some generic drivers, such as ehci, may use multiple phys and for such drivers referencing phy(s) by name(s) does not make sense. Instead of inventing new naming schemes and using custom code to iterate through them, such drivers are better of using nameless phy bindings and using this newly introduced API to iterate through them. Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden [kishon@ti.com: fix compilation errors] Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed