Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282355
b: refs/heads/master
c: ce63920
h: refs/heads/master
i:
  282353: fe5af60
  282351: e56c075
v: v3
  • Loading branch information
Jeremy Fitzhardinge committed Jan 8, 2012
1 parent 90541de commit 20ab364
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 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: b3ca3839f344aa469e6f53c8bbb633e5ab9b96c8
refs/heads/master: ce63920b395f1476e2d28cca16a56919289f0b62
8 changes: 0 additions & 8 deletions trunk/drivers/hid/hid-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,14 +917,6 @@ void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct

input = field->hidinput->input;

#ifdef CONFIG_HID_BATTERY_STRENGTH
if (usage->hid == HID_DC_BATTERYSTRENGTH) {
hid->battery_val = value;
hid_dbg(hid, "battery value is %d (range %d-%d)\n",
value, hid->battery_min, hid->battery_max);
return;
}
#endif
if (!usage->type)
return;

Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/hid.h
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ struct hid_device { /* device report descriptor */
struct power_supply battery;
__s32 battery_min;
__s32 battery_max;
__s32 battery_val;
__s32 battery_report_type;
__s32 battery_report_id;
#endif
Expand Down

0 comments on commit 20ab364

Please sign in to comment.