aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorDevendra Naga <[email protected]>2013-03-04 16:52:48 +0000
committerZhang Rui <[email protected]>2013-03-11 23:09:29 +0800
commit043e4652bf3378883e7c0db38fa47fa8e2558f9c (patch)
treef1d56f2f084e3c0c64fe0f6b41d56bd57d074502 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentfb84d9907f0ff0e3f7d70d55039ddf0f78d2a472 (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 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions