From: Axel Lin Date: Wed, 25 Feb 2015 23:24:49 +0000 (+0800) Subject: phy: armada375-usb2: Set drvdata for phy and use it X-Git-Tag: omap-for-v4.2/o2_dc~276^2~5^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a83b145b5891f445009b341361e2e458bd13d2b;p=pandora-kernel.git 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 Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed