diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2015-12-04 10:06:29 +0800 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-12-07 18:44:02 +0530 |
commit | 708744628ba96ed4dfcac74a985eb66ad551f164 (patch) | |
tree | e188c4d582eca72e004da4a3c7baf12b35d55445 /COPYING | |
parent | a8c24724dd9a31f52c1f7d82530cf4ad3b72cc50 (diff) | |
download | linux-stable-708744628ba96ed4dfcac74a985eb66ad551f164.tar.gz linux-stable-708744628ba96ed4dfcac74a985eb66ad551f164.tar.bz2 linux-stable-708744628ba96ed4dfcac74a985eb66ad551f164.zip |
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions