Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363457
b: refs/heads/master
c: 35b052a
h: refs/heads/master
i:
  363455: 391f644
v: v3
  • Loading branch information
Eduardo Valentin authored and Greg Kroah-Hartman committed Mar 15, 2013
1 parent ffb8bdc commit 81528ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24796e128182ac6988a04d140134f953560b5083
refs/heads/master: 35b052a6c9a4de5eae6fee60663c9b6606651c1a
4 changes: 2 additions & 2 deletions trunk/drivers/staging/omap-thermal/omap-thermal-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ int omap_thermal_expose_sensor(struct omap_bandgap *bg_ptr, int id,

data = omap_bandgap_get_sensor_data(bg_ptr, id);

if (IS_ERR(data))
if (IS_ERR_OR_NULL(data))
data = omap_thermal_build_data(bg_ptr, id);

if (!data)
Expand Down Expand Up @@ -309,7 +309,7 @@ int omap_thermal_register_cpu_cooling(struct omap_bandgap *bg_ptr, int id)
struct omap_thermal_data *data;

data = omap_bandgap_get_sensor_data(bg_ptr, id);
if (IS_ERR(data))
if (IS_ERR_OR_NULL(data))
data = omap_thermal_build_data(bg_ptr, id);

if (!data)
Expand Down

0 comments on commit 81528ed

Please sign in to comment.