phy: core: Let node ptr of PHY point to PHY and not of PHY provider
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 14 Jul 2014 10:25:02 +0000 (15:55 +0530)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 04:13:21 +0000 (13:13 +0900)
commit28a21be64c85ea52a798b8ce87defcebc6a83729
treee455ec19e78b3e0f52d06a04e746e56daa786239
parent3f24140ff66ec61af497d4fb6d9bae0d9ebf2aca
phy: core: Let node ptr of PHY point to PHY and not of PHY provider

In case of multi-phy PHY providers, each PHY should be modeled as a sub
node of the PHY provider. Then each PHY will have a different node pointer
(node pointer of sub node) than that of PHY provider. Added this provision
in the PHY core.
Also fixed all drivers to use the updated API.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
(cherry picked from commit f0ed817638b59aa927f1f7e9564dd8796b18dc4f)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Conflicts:
drivers/phy/phy-berlin-sata.c
drivers/phy/phy-exynos5-usbdrd.c
drivers/phy/phy-exynos5250-sata.c
drivers/phy/phy-hix5hd2-sata.c
drivers/phy/phy-qcom-apq8064-sata.c
drivers/phy/phy-samsung-usb2.c
drivers/phy/phy-sun4i-usb.c
drivers/phy/phy-ti-pipe3.c
drivers/phy/phy-xgene.c
Documentation/phy.txt
drivers/phy/phy-bcm-kona-usb2.c
drivers/phy/phy-core.c
drivers/phy/phy-exynos-dp-video.c
drivers/phy/phy-exynos-mipi-video.c
drivers/phy/phy-mvebu-sata.c
drivers/phy/phy-omap-usb2.c
drivers/phy/phy-twl4030-usb.c
include/linux/phy/phy.h