Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339288
b: refs/heads/master
c: c499703
h: refs/heads/master
v: v3
  • Loading branch information
Kuninori Morimoto authored and Zhang Rui committed Nov 26, 2012
1 parent b625dab commit 7f4370d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 4ba115b1e1ab6b717e08e0f4e766a1d16853d217
refs/heads/master: c499703e64bef8f2e8ffe9ea7ee63a0a926b5530
4 changes: 3 additions & 1 deletion trunk/drivers/thermal/rcar_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ struct rcar_thermal_priv {
u32 comp;
};

#define MCELSIUS(temp) ((temp) * 1000)

/*
* basic functions
*/
Expand Down Expand Up @@ -169,7 +171,7 @@ static int rcar_thermal_get_temp(struct thermal_zone_device *zone,
}
}

*temp = tmp;
*temp = MCELSIUS(tmp);
return 0;
}

Expand Down

0 comments on commit 7f4370d

Please sign in to comment.