HID: hid-input/battery: set scope and powered device for HID battery
authorJeremy Fitzhardinge <jeremy@goop.org>
Thu, 8 Dec 2011 01:31:43 +0000 (17:31 -0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 3 Feb 2012 22:54:58 +0000 (23:54 +0100)
commit45d9c273b262cde84bb6bb3fc02c01d07da76936
tree67eabe354730dd6e113c5edbced66a0e7e91e7f2
parent7c7ed8ec337bf5f62cc5287a6eb6b2f1b7504c2f
HID: hid-input/battery: set scope and powered device for HID battery

Set the battery's power supply scope to "Device" and point the power
supply to the powered device.

Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c