Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353959
b: refs/heads/master
c: ac6a98d
h: refs/heads/master
i:
  353957: 579b320
  353955: 789479f
  353951: cfd76ce
v: v3
  • Loading branch information
Cyril Roelandt authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 273accb commit ae97f6f
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: fd958f7eb4d0959f65377aaab4a63ba33cc53f06
refs/heads/master: ac6a98d452baa4f9acae7c2238f6626bae8283ff
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 (!data)
if (IS_ERR(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 (!data)
if (IS_ERR(data))
data = omap_thermal_build_data(bg_ptr, id);

if (!data)
Expand Down

0 comments on commit ae97f6f

Please sign in to comment.