projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mutex: Back out architecture specific check for negative mutex count
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
thermal
/
exynos_thermal.c
diff --git
a/drivers/thermal/exynos_thermal.c
b/drivers/thermal/exynos_thermal.c
index
e04ebd8
..
46568c0
100644
(file)
--- a/
drivers/thermal/exynos_thermal.c
+++ b/
drivers/thermal/exynos_thermal.c
@@
-476,7
+476,7
@@
static int exynos_register_thermal(struct thermal_sensor_conf *sensor_conf)
if (IS_ERR(th_zone->therm_dev)) {
pr_err("Failed to register thermal zone device\n");
- ret =
-EINVAL
;
+ ret =
PTR_ERR(th_zone->therm_dev)
;
goto err_unregister;
}
th_zone->mode = THERMAL_DEVICE_ENABLED;