diff options
author | Devendra Naga <[email protected]> | 2013-03-04 16:52:48 +0000 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2013-03-11 23:09:29 +0800 |
commit | 043e4652bf3378883e7c0db38fa47fa8e2558f9c (patch) | |
tree | f1d56f2f084e3c0c64fe0f6b41d56bd57d074502 /drivers/pnp/isapnp/proc.c | |
parent | fb84d9907f0ff0e3f7d70d55039ddf0f78d2a472 (diff) |
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]>
Diffstat (limited to 'drivers/pnp/isapnp/proc.c')
0 files changed, 0 insertions, 0 deletions