phy: core: Get a refcount to phy in devm_of_phy_get_by_index()
On driver detach, devm_phy_release() will put a refcount to the phy, so gets a refconut to it before return. Signed-off-by: NChunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com>
Showing
想要评论请 注册 或 登录