summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-imx51.c
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-06-07 22:19:26 +0530
committerLinus Walleij <linus.walleij@linaro.org>2012-06-12 13:35:32 +0200
commitc71157c54a4f86e4f355dc6952268e8536013502 (patch)
treecb21f82ff8496262bba2271a478249507a441ffc /drivers/pinctrl/pinctrl-imx51.c
parent3a86a5f8abb33956446ae31b1e9c149d7b2d1d21 (diff)
downloadtalos-obmc-linux-c71157c54a4f86e4f355dc6952268e8536013502.tar.gz
talos-obmc-linux-c71157c54a4f86e4f355dc6952268e8536013502.zip
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 <devendra.aaru@gmail.com> Acked-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-imx51.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud