]> git.ipfire.org Git - people/ms/linux.git/commit - drivers/hid/hid-input.c
hid-input/battery: deal with both FEATURE and INPUT report batteries
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 2 Dec 2011 19:18:45 +0000 (11:18 -0800)
committerJeremy Fitzhardinge <jeremy@goop.org>
Sun, 8 Jan 2012 07:30:37 +0000 (18:30 +1100)
commitfb8ac91b4dccbdda0ad51d499079d05143783ba4
treeb85100063cf4128c79b610a0a7def43a40c98413
parentbbc21cfd55858d7c3e55bfaa91fa934b0b13ad4d
hid-input/battery: deal with both FEATURE and INPUT report batteries

Some devices seem to report batteries as FEATUREs, others as INPUTs.

Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
drivers/hid/hid-input.c
include/linux/hid.h