Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343075
b: refs/heads/master
c: ccdd699
h: refs/heads/master
i:
  343073: c4ad01e
  343071: 0f338e7
v: v3
  • Loading branch information
Benjamin Tissoires authored and Jiri Kosina committed Nov 15, 2012
1 parent e77f1a8 commit 414c058
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 37cf6e6fc34e2fca4e7c565697e7cd5c317bc316
refs/heads/master: ccdd699411b77c463022ebac311eb4a06ca56db4
2 changes: 1 addition & 1 deletion trunk/drivers/hid/hid-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ __s32 hidinput_calc_abs_res(const struct hid_field *field, __u16 code)
}

/* Calculate resolution */
return logical_extents / physical_extents;
return DIV_ROUND_CLOSEST(logical_extents, physical_extents);
}
EXPORT_SYMBOL_GPL(hidinput_calc_abs_res);

Expand Down

0 comments on commit 414c058

Please sign in to comment.