diff options
author | Anji Jonnala <anjir@codeaurora.org> | 2013-11-22 21:36:18 +0530 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:08:21 -0700 |
commit | 939a7bbf7f47fbfe6819a2f9ad6b74947938b1d4 (patch) | |
tree | 8b7bda943d9ea193cc7a94f1a313722305f1038d /drivers/rtc | |
parent | 9e0b2db23b67a3d98004a1d68f0dc3a950da93bd (diff) |
thermal-core: Fix invalid sensor request not accounted correctly
Add NULL check for sensor name before using it in sensor_get_id and
return NULL explicitly when sensor id is not valid in get_sensor of
thermal core.
Change-Id: I4200a5691183aa2d40ef8ed64554f0beb8ce6d0d
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions