From: Devendra Naga Date: Thu, 7 Jun 2012 16:49:26 +0000 (+0530) Subject: pinctrl: pinctrl-imx: free if of_get_parent fails to get the parent node X-Git-Tag: v3.5-rc3~20^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c71157c54a4f86e4f355dc6952268e8536013502;p=pandora-kernel.git pinctrl: pinctrl-imx: free if of_get_parent fails to get the parent node of_get_parent can return null if no parent node found, so the allocated new_map should be freed. Signed-off-by: Devendra Naga Acked-by: Dong Aisheng Signed-off-by: Linus Walleij --- Reading git-diff-tree failed