From patchwork Sun Jan 13 14:16:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiang Liu X-Patchwork-Id: 211622 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 7236E2C0106 for ; Mon, 14 Jan 2013 01:18:53 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754929Ab3AMOSt (ORCPT ); Sun, 13 Jan 2013 09:18:49 -0500 Received: from mail-da0-f41.google.com ([209.85.210.41]:36563 "EHLO mail-da0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754893Ab3AMOSt (ORCPT ); Sun, 13 Jan 2013 09:18:49 -0500 Received: by mail-da0-f41.google.com with SMTP id e20so1442575dak.0 for ; Sun, 13 Jan 2013 06:18:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=WHBeGe9rmWRp0CaFVoNBU6TRt9lBb8ifZdjh9HjW+hU=; b=yV2pupdPMbEnbFClr/Cu5KmnGMfxVf4J6mrTu9zmqQh2m3vLmCOQ6BmIbdzN59f7Ij eOkWvKvi3XeOvAuRkfgmClNfaLCIjYvtUXfCmqiXYMk6l++iVYhKgFD4fEWTr8D4f/QY bgbTaVIUxLXZwfabA9R5QJLaJstQjGJr24la3lhOvOPwfKggfyea9htPYmXMoPZYp7nL I1YzdTRuNL/jI9nH2VHGYRWR59Ie0G7Rcg7MN4zSu1qGuH0srXW3LRwGeZC8JPoZuTa4 r1/s81/54Y9fVDM/wtJ8PSWlRnCR+6kvX6w226/nDwm3MFMlChOwm7EBsgmif/id5rbv iPPQ== X-Received: by 10.68.244.6 with SMTP id xc6mr247526817pbc.94.1358086728868; Sun, 13 Jan 2013 06:18:48 -0800 (PST) Received: from localhost.localdomain ([221.221.25.133]) by mx.google.com with ESMTPS id rs7sm6409603pbc.2.2013.01.13.06.18.41 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Jan 2013 06:18:48 -0800 (PST) From: Jiang Liu To: "Rafael J . Wysocki" Cc: Jiang Liu , Toshi Kani , Bjorn Helgaas , LKML , linux-pci@vger.kernel.org, Yinghai Lu , Myron Stowe , Yijing Wang , Jiang Liu Subject: [PATCH] ACPI: remove unused acpi_op_bind and acpi_op_unbind Date: Sun, 13 Jan 2013 22:16:42 +0800 Message-Id: <1358086602-32538-1-git-send-email-jiang.liu@huawei.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <2326457.ZgAhayTgyl@vostro.rjw.lan> References: <2326457.ZgAhayTgyl@vostro.rjw.lan> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org With commit f2a33cde55a03 "ACPI: Drop ACPI device .bind() and .unbind() callbacks", acpi_op_bind and acpi_op_unbind are not used any more. So remove them. Signed-off-by: Jiang Liu --- include/acpi/acpi_bus.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 6e9a73e..ef539eb 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -91,8 +91,6 @@ struct acpi_device; typedef int (*acpi_op_add) (struct acpi_device * device); typedef int (*acpi_op_remove) (struct acpi_device * device, int type); typedef int (*acpi_op_start) (struct acpi_device * device); -typedef int (*acpi_op_bind) (struct acpi_device * device); -typedef int (*acpi_op_unbind) (struct acpi_device * device); typedef void (*acpi_op_notify) (struct acpi_device * device, u32 event); struct acpi_device_ops {