Re: [PATCH] MIPS: ralink: add missing put_device in ill_acc_of_setup

From: Paul Burton
Date: Thu Jan 09 2020 - 13:52:49 EST


Hello,

yu kuai wrote:
> 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.

Applied to mips-next.

> commit defed0bbca2c
> https://git.kernel.org/mips/c/defed0bbca2c
>
> Signed-off-by: yu kuai <yukuai3@xxxxxxxxxx>
> Signed-off-by: Paul Burton <paulburton@xxxxxxxxxx>

Thanks,
Paul

[ This message was auto-generated; if you believe anything is incorrect
then please email paulburton@xxxxxxxxxx to report it. ]