commit | d7cb3dbd10c09081fafd05fcbef590ce04e402ff | [log] [tgz] |
---|---|---|
author | Przemo Firszt <przemo@firszt.eu> | Sun Feb 05 22:35:24 2012 +0000 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Feb 06 16:14:20 2012 +0100 |
tree | 025f3d9d9a0dfdd609a82719e7c6fcb517a225a5 | |
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>