diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2013-03-04 16:52:47 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-03-11 23:09:24 +0800 |
commit | fb84d9907f0ff0e3f7d70d55039ddf0f78d2a472 (patch) | |
tree | ae2bac5cb75616afe177950c0e5cb19533612085 /lib | |
parent | aa3b5d222da5922ab1883eba3e9d8f92ad148155 (diff) |
thermal: rcar_thermal: propagate return value of thermal_zone_device_register
thermal_zone_device_register returns a value contained in the pointer itself
use PTR_ERR to obtain the address and return it at the end.
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions