Skip to content
Unverified Commit defed0bb authored by yu kuai's avatar yu kuai Committed by Paul Burton
Browse files

MIPS: ralink: add missing put_device in ill_acc_of_setup



If of_find_device_by_node return 0 and ill_acc_of_setup return error,
pdev don't have a corresponding object release.

Fix it by adding put_device.

Signed-off-by: default avataryu kuai <yukuai3@huawei.com>
Signed-off-by: default avatarPaul Burton <paulburton@kernel.org>
Cc: <john@phrozen.org>
Cc: <ralf@linux-mips.org>
Cc: <jhogan@kernel.org>
Cc: <linux-mips@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Cc: <zhengbin13@huawei.com>
Cc: <yi.zhang@huawei.com>
parent 9c48c48c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment