phy: core: Add devm_of_phy_get to phy-core
authorKamil Debski <k.debski@samsung.com>
Thu, 6 Mar 2014 11:16:47 +0000 (12:16 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 8 Mar 2014 07:09:43 +0000 (12:39 +0530)
commitb5d682f4eb76c98f2ca5658926df43dd05cf2c37
treef915d8d63c8ee47cd64fe83d250225044c764b27
parent0b3f3b2c777a2f7d20c9826a190ffd5bbd288f8f
phy: core: Add devm_of_phy_get to phy-core

Adding devm_of_phy_get will allow to get phys by supplying a
pointer to the struct device_node instead of struct device.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-core.c
include/linux/phy/phy.h