From: Axel Lin Date: Tue, 10 Mar 2015 09:05:33 +0000 (+0800) Subject: phy: berlin-usb: Set drvdata for phy and use it X-Git-Tag: omap-for-v4.2/o2_dc~157^2~3^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=739ae3452d0ee199b3cfe5e52214d9ccd8e358ea;p=pandora-kernel.git 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 Signed-off-by: Kishon Vijay Abraham I --- Reading git-diff-tree failed