diff options
author | Arun Ramamurthy <[email protected]> | 2015-04-22 16:04:11 -0700 |
---|---|---|
committer | Kishon Vijay Abraham I <[email protected]> | 2015-05-11 21:42:23 +0530 |
commit | 6be109b31ccdb9c98e7be12687171f6602527a5d (patch) | |
tree | 8c2ad5df0fea49ca066cc18c7edff9087d4befeb /lib/memory-notifier-error-inject.c | |
parent | 2decb2682f80759f631c8332f9a2a34a02150a03 (diff) |
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 <[email protected]>
Reviewed-by: Ray Jui <[email protected]>
Reviewed-by: Scott Branden <[email protected]>
[[email protected]: fix compilation errors]
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions