commit | 708744628ba96ed4dfcac74a985eb66ad551f164 | [log] [tgz] |
---|---|---|
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | Fri Dec 04 10:06:29 2015 +0800 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Mon Dec 07 18:44:02 2015 +0530 |
tree | e188c4d582eca72e004da4a3c7baf12b35d55445 | |
parent | a8c24724dd9a31f52c1f7d82530cf4ad3b72cc50 [diff] |
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: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>