Skip to content
Commit 48454460 authored by yu kuai's avatar yu kuai Committed by Shawn Guo
Browse files

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



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>
parent 586745f1
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