Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 296995
b: refs/heads/master
c: a938406
h: refs/heads/master
i:
  296993: 002076f
  296991: f6076d0
v: v3
  • Loading branch information
Danny Kukawka authored and Matthew Garrett committed Mar 20, 2012
1 parent 979c4de commit 314f3fc
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: ca1469f5f1bb04856dec9549c111b7aec59da71e
refs/heads/master: a938406b768936f6275b18360ecb44624a80deb1
4 changes: 2 additions & 2 deletions trunk/drivers/platform/x86/hdaps.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ static ssize_t hdaps_temp1_show(struct device *dev,
int ret;

ret = hdaps_readb_one(HDAPS_PORT_TEMP1, &temp);
if (ret < 0)
if (ret)
return ret;

return sprintf(buf, "%u\n", temp);
Expand All @@ -392,7 +392,7 @@ static ssize_t hdaps_temp2_show(struct device *dev,
int ret;

ret = hdaps_readb_one(HDAPS_PORT_TEMP2, &temp);
if (ret < 0)
if (ret)
return ret;

return sprintf(buf, "%u\n", temp);
Expand Down

0 comments on commit 314f3fc

Please sign in to comment.