From patchwork Fri Dec 17 08:46:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 415101 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBH8kHMh017336 for ; Fri, 17 Dec 2010 08:46:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751656Ab0LQIqQ (ORCPT ); Fri, 17 Dec 2010 03:46:16 -0500 Received: from vms173017pub.verizon.net ([206.46.173.17]:60784 "EHLO vms173017pub.verizon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413Ab0LQIqP (ORCPT ); Fri, 17 Dec 2010 03:46:15 -0500 Received: from localhost.localdomain ([unknown] [74.104.161.234]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LDK00BHKDP2UJ14@vms173017.mailsrvcs.net> for linux-acpi@vger.kernel.org; Fri, 17 Dec 2010 02:46:15 -0600 (CST) Received: from localhost.localdomain (x980 [127.0.0.1]) by localhost.localdomain (8.14.4/8.14.4) with ESMTP id oBH8kDoA002983; Fri, 17 Dec 2010 03:46:13 -0500 Received: from localhost (lenb@localhost) by localhost.localdomain (8.14.4/8.14.4/Submit) with ESMTP id oBH8kC5j002976; Fri, 17 Dec 2010 03:46:12 -0500 X-Authentication-warning: localhost.localdomain: lenb owned process doing -bs Date: Fri, 17 Dec 2010 03:46:12 -0500 (EST) From: Len Brown X-X-Sender: lenb@x980 To: Arjan van de Ven Cc: linux-acpi@vger.kernel.org Subject: Re: acpi_battery_init() boot speed In-reply-to: <20101215030054.0aae9e1e@infradead.org> Message-id: References: <20101215030054.0aae9e1e@infradead.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 17 Dec 2010 08:46:18 +0000 (UTC) diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index 95649d3..79e8ba3 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c @@ -943,7 +943,6 @@ static int acpi_battery_add(struct acpi_device *device) if (ACPI_SUCCESS(acpi_get_handle(battery->device->handle, "_BIX", &handle))) set_bit(ACPI_BATTERY_XINFO_PRESENT, &battery->flags); - acpi_battery_update(battery); #ifdef CONFIG_ACPI_PROCFS_POWER result = acpi_battery_add_fs(device); #endif