Files
erofs-linux/drivers/thermal
Devendra Naga 043e4652bf thermal: exynos_thermal: return a proper error code while thermal_zone_device_register fail.
we are returning EINVAL while the thermal_zone_device_register function fail.
instead we can use the return value from the thermal_zone_device_register by
using PTR_ERR.

Signed-off-by: Devendra Naga <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
2013-03-11 23:09:29 +08:00
..