diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-02-26 00:24:49 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-03-04 14:01:47 +0100 |
commit | 7a83b145b5891f445009b341361e2e458bd13d2b (patch) | |
tree | 38b3159af4ef50d239b7b68fb4dda26d76d4ef1a /drivers/phy/phy-xgene.c | |
parent | phy: miphy365x: Avoid calling of_get_child_count() multiple times (diff) | |
download | linux-7a83b145b5891f445009b341361e2e458bd13d2b.tar.xz linux-7a83b145b5891f445009b341361e2e458bd13d2b.zip |
phy: armada375-usb2: Set drvdata for phy and use it
At the context we have pointer to struct phy, it's useful to call
phy_get_drvdata() to get the address of cluster_phy. This has slightly
better readability than calling dev_get_drvdata(phy->dev.parent).
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions