diff options
author | 2015-12-04 10:06:29 +0800 | |
---|---|---|
committer | 2015-12-07 18:44:02 +0530 | |
commit | 708744628ba96ed4dfcac74a985eb66ad551f164 (patch) | |
tree | e188c4d582eca72e004da4a3c7baf12b35d55445 /drivers/infiniband/core/uverbs_cmd.c | |
parent | phy: cygnus: pcie: add missing of_node_put (diff) | |
download | linux-dev-708744628ba96ed4dfcac74a985eb66ad551f164.tar.xz linux-dev-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 'drivers/infiniband/core/uverbs_cmd.c')
0 files changed, 0 insertions, 0 deletions