Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337846
b: refs/heads/master
c: 5041949
h: refs/heads/master
v: v3
  • Loading branch information
Eduardo Valentin authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 28c9151 commit b60863d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2aeeb8acfc19f8a9f283081bbf77919b61b92042
refs/heads/master: 5041949117e3c1a0b7c21c3b176ca18b202d4027
6 changes: 3 additions & 3 deletions trunk/drivers/staging/omap-thermal/omap-thermal-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,12 @@ static struct omap_thermal_data
int omap_thermal_expose_sensor(struct omap_bandgap *bg_ptr, int id,
char *domain)
{
struct omap_thermal_pdata pdata;
struct omap_thermal_data *data;

data = omap_bandgap_get_sensor_data(bg_ptr, id);

if (!data)
data = omap_thermal_build_pdata(bg_ptr, id);
data = omap_thermal_build_data(bg_ptr, id);

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

data = omap_bandgap_get_sensor_data(bg_ptr, id);
if (!data)
data = omap_thermal_build_pdata(bg_ptr, id);
data = omap_thermal_build_data(bg_ptr, id);

if (!data)
return -EINVAL;
Expand Down

0 comments on commit b60863d

Please sign in to comment.