aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/idle.c
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2019-11-04 21:33:50 +0800
committerPaul Burton <paulburton@kernel.org>2019-11-04 10:50:55 -0800
commitdece3c2a320b0a6d891da6ff774ab763969b6860 (patch)
tree96d808ae8e8445c1f681f827485645e608aa930b /arch/mips/kernel/idle.c
parentMIPS: add support for SGI Octane (IP30) (diff)
downloadlinux-dev-dece3c2a320b0a6d891da6ff774ab763969b6860.tar.xz
linux-dev-dece3c2a320b0a6d891da6ff774ab763969b6860.zip
MIPS: Loongson: Fix return value of loongson_hwmon_init
When call function hwmon_device_register failed, use the actual return value instead of always -ENOMEM. Fixes: 64f09aa967e1 ("MIPS: Loongson-3: Add CPU Hwmon platform driver") Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Huacai Chen <chenhc@lemote.com> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/kernel/idle.c')
0 files changed, 0 insertions, 0 deletions