android_kernel_sony_sdm845/drivers/platform
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tiezhu Yang 00a9d1a860 MIPS: Loongson: Fix return value of loongson_hwmon_init
[ Upstream commit dece3c2a320b0a6d891da6ff774ab763969b6860 ]

When call function hwmon_device_register failed, use the actual
return value instead of always -ENOMEM.

Fixes: 64f09aa967 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-29 10:24:35 +01:00
..
chrome platform/chrome: cros_ec_proto: check for NULL transfer function 2019-06-22 08:17:15 +02:00
goldfish goldfish: Sanitize the broken interrupt handler 2017-02-26 11:10:52 +01:00
mips MIPS: Loongson: Fix return value of loongson_hwmon_init 2020-01-29 10:24:35 +01:00
olpc platform/olpc: Make ec explicitly non-modular 2016-08-28 22:31:52 -07:00
x86 platform/x86: alienware-wmi: printing the wrong error code 2020-01-29 10:24:24 +01:00
Kconfig goldfish: refactor goldfish platform configs 2016-01-28 23:34:36 -08:00
Makefile MIPS: Loongson-3: Add CPU Hwmon platform driver 2015-04-01 17:22:17 +02:00