From: Uwe Kleine-König Date: Thu, 7 Aug 2014 21:48:24 +0000 (+0200) Subject: net: ucc_geth: drop acquired references in probe error path and remove X-Git-Tag: omap-for-v3.17/fixes-against-rc2~76^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa310789a488a8ca873a117d6d625368def71fb7;p=pandora-kernel.git net: ucc_geth: drop acquired references in probe error path and remove The ucc_geth_probe function assigns to ug_info->tbi_node and ug_info->phy_node a value returned by of_parse_phandle which returns a new reference. Put this reference again in the error path of ucc_geth_probe and when removing the device. Signed-off-by: Uwe Kleine-König Signed-off-by: David S. Miller --- Reading git-diff-tree failed