diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-12 15:42:20 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-03-26 22:07:52 +0800 |
commit | f534e9bf8074ca8c258a1ce0e5224372298976f9 (patch) | |
tree | 61e2b4e67e197351af6a155f66ab4e19c762ac65 /tools/perf/scripts/python/syscall-counts.py | |
parent | bde00663098db4d6a25681351ffa4a87eff3d0b4 (diff) |
thermal: db8500: Fix checking return value of thermal_zone_device_register
thermal_zone_device_register() returns ERR_PTR on error, thus use
IS_ERR rather than IS_ERR_OR_NULL to check return value.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions