Revert "HID: wiimote: fix invalid power_supply_powers call"
BugLink: http://bugs.launchpad.net/bugs/1048605
This reverts commit ed326b8c4c653ce643f1cade74cd76c538170b64.
This commit was cherry picked from commit
217c8b2b1978aa4a02ce040a99c59ed3b6418fe5. However, it was not correctly
backported to Precise. Reverting it to re-apply the correction.
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
drivers/hid/hid-wiimote.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/hid/hid-wiimote.c b/drivers/hid/hid-wiimote.c
index ba2081d..295901e 100644
--- a/drivers/hid/hid-wiimote.c
+++ b/drivers/hid/hid-wiimote.c
@@ -1259,8 +1259,6 @@ static int wiimote_hid_probe(struct hid_device *hdev,
goto err_battery;
}
- power_supply_powers(&wdata->battery, &hdev->dev);
-
ret = wiimote_leds_create(wdata);
if (ret)
goto err_free;
--
1.7.9.5
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team