summaryrefslogtreecommitdiff
path: root/drivers/phy/phy-stih41x-usb.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-03-10 12:05:33 +0300
committerKishon Vijay Abraham I <kishon@ti.com>2015-03-10 14:48:09 +0300
commit739ae3452d0ee199b3cfe5e52214d9ccd8e358ea (patch)
tree31d6e58fea5527eab8e458ebfa8e89a6c93860ae /drivers/phy/phy-stih41x-usb.c
parent298fe56ee2b9551ca8cd675e7a6ebaf1c03632f8 (diff)
downloadlinux-739ae3452d0ee199b3cfe5e52214d9ccd8e358ea.tar.xz
phy: berlin-usb: Set drvdata for phy and use it
At the context where we have pointer to struct phy, it's useful to call phy_get_drvdata() to get the address of priv. With this change, we can remove the to_phy_berlin_usb_priv() macro and remove *phy from struct phy_berlin_usb_priv. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-stih41x-usb.c')
0 files changed, 0 insertions, 0 deletions