Re: [PATCH] MIPS: Loongson: Fix return value of loongson_hwmon_init
From: Paul Burton
Date: Mon Nov 04 2019 - 14:06:12 EST
Hello,
Tiezhu Yang wrote:
> When call function hwmon_device_register failed, use the actual
> return value instead of always -ENOMEM.
Applied to mips-next.
> commit dece3c2a320b
> https://git.kernel.org/mips/c/dece3c2a320b
>
> Fixes: 64f09aa967e1 ("MIPS: Loongson-3: Add CPU Hwmon platform driver")
> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
> 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. ]