diff options
author | Tiezhu Yang <[email protected]> | 2019-11-04 21:33:50 +0800 |
---|---|---|
committer | Paul Burton <[email protected]> | 2019-11-04 10:50:55 -0800 |
commit | dece3c2a320b0a6d891da6ff774ab763969b6860 (patch) | |
tree | 96d808ae8e8445c1f681f827485645e608aa930b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7505576d1c1ac0cfe85fdf90999433dd8b673012 (diff) |
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 <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Huacai Chen <[email protected]>
Cc: Jiaxun Yang <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions