power_supply: add scope properties to some self-powered HID devices
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 7 Dec 2011 19:29:46 +0000 (11:29 -0800)
committerJeremy Fitzhardinge <jeremy@goop.org>
Fri, 9 Dec 2011 17:53:42 +0000 (09:53 -0800)
commit73db88137bc732d01b615af9a9cdb24f3e47e78d
tree091725a7bc56962b6bd080aa165c646c91be32ac
parent8351665195cec6d2b73cce8b66f02d6dde246a8e
power_supply: add scope properties to some self-powered HID devices

The Wacom and Wiimote HID drivers register power supplies for themselves
to indicate their battery levels.  Make those power supplies device scope.

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