From patchwork Tue Mar 24 16:55:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 14073 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2OGtV5J007559 for ; Tue, 24 Mar 2009 16:55:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757866AbZCXQzh (ORCPT ); Tue, 24 Mar 2009 12:55:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762612AbZCXQzg (ORCPT ); Tue, 24 Mar 2009 12:55:36 -0400 Received: from g1t0028.austin.hp.com ([15.216.28.35]:18691 "EHLO g1t0028.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757866AbZCXQzf (ORCPT ); Tue, 24 Mar 2009 12:55:35 -0400 Received: from smtp2.fc.hp.com (smtp.cnd.hp.com [15.11.136.114]) by g1t0028.austin.hp.com (Postfix) with ESMTP id 7EFDD1C62D; Tue, 24 Mar 2009 16:55:33 +0000 (UTC) Received: from localhost.localdomain (lart.fc.hp.com [15.11.146.31]) by smtp2.fc.hp.com (Postfix) with ESMTP id B67452BD517; Tue, 24 Mar 2009 16:31:49 +0000 (UTC) Received: from bob.kio (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 0925F2614B; Tue, 24 Mar 2009 10:55:33 -0600 (MDT) From: Bjorn Helgaas Subject: [PATCH 3/3] ACPI: remove unused acpi_bus_ops flags To: Len Brown Cc: linux-acpi@vger.kernel.org, Li Shaohua , Rajesh Shah Date: Tue, 24 Mar 2009 10:55:33 -0600 Message-ID: <20090324165532.25119.99553.stgit@bob.kio> In-Reply-To: <20090324165420.25119.78955.stgit@bob.kio> References: <20090324165420.25119.78955.stgit@bob.kio> User-Agent: StGIT/0.14.3.215.gff3d MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org In acpi_bus_ops, only the acpi_op_add and acpi_op_start flags are used, so remove all the rest. Signed-off-by: Bjorn Helgaas --- include/acpi/acpi_bus.h | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index fb91bc2..08ec60c 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -98,17 +98,7 @@ typedef int (*acpi_op_unbind) (struct acpi_device * device); struct acpi_bus_ops { u32 acpi_op_add:1; - u32 acpi_op_remove:1; - u32 acpi_op_lock:1; u32 acpi_op_start:1; - u32 acpi_op_stop:1; - u32 acpi_op_suspend:1; - u32 acpi_op_resume:1; - u32 acpi_op_scan:1; - u32 acpi_op_bind:1; - u32 acpi_op_unbind:1; - u32 acpi_op_shutdown:1; - u32 reserved:21; }; struct acpi_device_ops {