extcon: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Fri, 1 Jul 2016 09:41:55 +0000 (18:41 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Sat, 2 Jul 2016 04:24:25 +0000 (13:24 +0900)
commit5d5c4c139dd766dff903ba35d72fb3ec90022e91
tree473ad5944481afcb5c40372b6d0e517f35e1910e
parentaf61f96109b73fefbe0589c320d2219567f4f660
extcon: add missing of_node_put after calling of_parse_phandle

of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c