From patchwork Tue Sep 11 14:15:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Henriques X-Patchwork-Id: 183123 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 6DDDA2C0092 for ; Wed, 12 Sep 2012 00:15:58 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TBREB-0003tW-Ng; Tue, 11 Sep 2012 14:14:11 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TBRE4-0003pg-TY for kernel-team@lists.ubuntu.com; Tue, 11 Sep 2012 14:14:05 +0000 Received: from av-217-129-141-167.netvisao.pt ([217.129.141.167] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TBRFc-0001Ls-C9 for kernel-team@lists.ubuntu.com; Tue, 11 Sep 2012 14:15:40 +0000 From: Luis Henriques To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/2] Revert "HID: wiimote: fix invalid power_supply_powers call" Date: Tue, 11 Sep 2012 15:15:37 +0100 Message-Id: <1347372938-30806-2-git-send-email-luis.henriques@canonical.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1347372938-30806-1-git-send-email-luis.henriques@canonical.com> References: <1347372938-30806-1-git-send-email-luis.henriques@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com 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 --- 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;