diff options
author | Przemo Firszt <przemo@firszt.eu> | 2012-02-05 17:35:24 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-02-06 10:14:20 -0500 |
commit | d7cb3dbd10c09081fafd05fcbef590ce04e402ff (patch) | |
tree | 025f3d9d9a0dfdd609a82719e7c6fcb517a225a5 /drivers/hid/hid-wiimote-core.c | |
parent | d4730ace0c7dbb64513e35b6fc5fd7e7f381e490 (diff) |
HID: wacom: Fix invalid power_supply_powers calls
power_supply_powers calls added in 35b4c01e2 ("power_supply: add "powers" links
to self-powered HID devices") have to be called after power device is created.
This patch also fixes the second call - it has to be "ac" instead of "battery"
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-wiimote-core.c')
0 files changed, 0 insertions, 0 deletions