Skip to content
Commit b2ebdb18 authored by yu kuai's avatar yu kuai Committed by Paul Gortmaker
Browse files

ARM: imx6: add missing put_device() call in imx6q_suspend_init()

commit 48454460

 upstream.

if of_find_device_by_node() succeed, imx6q_suspend_init() doesn't have a
corresponding put_device(). Thus add a jump target to fix the exception
handling for this function implementation.

Signed-off-by: default avataryu kuai <yukuai3@huawei.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent b0353332
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment