-
由 Axel Lin 提交于
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: NAxel Lin <axel.lin@ingics.com> Signed-off-by: NZhang Rui <rui.zhang@intel.com>
f534e9bf
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: NAxel Lin <axel.lin@ingics.com> Signed-off-by: NZhang Rui <rui.zhang@intel.com>