Permalink
Browse files

cleanup of Ortek commit for 2.6.35

  • Loading branch information...
1 parent 31e86c5 commit cf35003d33fe0c9bc0d833e7f5172f717226999a John E. Connolly committed Aug 12, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 drivers/hid/hid-ortek.c
View
@@ -28,10 +28,10 @@ static void ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc,
unsigned int rsize)
{
if (rsize >= 56 && rdesc[54] == 0x25 && rdesc[55] == 0x01) {
- hid_info(hdev, "Fixing up logical minimum in report descriptor (Ortek)\n");
+ dev_info(hdev, "Fixing up logical minimum in report descriptor (Ortek)\n");
rdesc[55] = 0x92;
- } else if (*rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) {
- hid_info(hdev, "Fixing up logical minimum in report descriptor (Skycable)\n");
+ } else if (rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) {
+ dev_info(hdev, "Fixing up logical minimum in report descriptor (Skycable)\n");
rdesc[53] = 0x65;
}
}

0 comments on commit cf35003

Please sign in to comment.