Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130455
b: refs/heads/master
c: 0796005
h: refs/heads/master
i:
  130453: 49c7f93
  130451: cbaf707
  130447: fc70cd8
v: v3
  • Loading branch information
Greg Kroah-Hartman authored and Greg Kroah-Hartman committed Jan 28, 2009
1 parent 779d285 commit 180118c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2d0db6bf5010c26beb1ccbd4ee50991fd2c05d90
refs/heads/master: 07960058f0ce77ddc3027d3e45a5de1fb977334f
3 changes: 2 additions & 1 deletion trunk/drivers/staging/android/timed_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ static ssize_t gpio_enable_show(struct device *dev, struct device_attribute *att

if (hrtimer_active(&gpio_data->timer)) {
ktime_t r = hrtimer_get_remaining(&gpio_data->timer);
remaining = r.tv.sec * 1000 + r.tv.nsec / 1000000;
struct timeval t = ktime_to_timeval(r);
remaining = t.tv_sec * 1000 + t.tv_usec;
} else
remaining = 0;

Expand Down

0 comments on commit 180118c

Please sign in to comment.