From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yinghai Lu Subject: Re: [PATCH] ACPI: Drop device start operation that is not used Date: Tue, 22 Jan 2013 14:20:44 -0800 Message-ID: References: <1518653.CUpDmbmCI3@vostro.rjw.lan> <4046863.eHD8RPonGC@vostro.rjw.lan> <1726547.g8rCOVpa6k@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-ia0-f172.google.com ([209.85.210.172]:58206 "EHLO mail-ia0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751812Ab3AVWUp (ORCPT ); Tue, 22 Jan 2013 17:20:45 -0500 In-Reply-To: <1726547.g8rCOVpa6k@vostro.rjw.lan> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , LKML , Len Brown , Matthew Garrett , Bjorn Helgaas , Toshi Kani On Tue, Jan 22, 2013 at 2:25 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ACPI device start operation, acpi_op_start, is never used, so > drop it. > > Signed-off-by: Rafael J. Wysocki > --- > include/acpi/acpi_bus.h | 2 -- > 1 file changed, 2 deletions(-) > > Index: linux-pm/include/acpi/acpi_bus.h > =================================================================== > --- linux-pm.orig/include/acpi/acpi_bus.h > +++ linux-pm/include/acpi/acpi_bus.h > @@ -90,13 +90,11 @@ struct acpi_device; > > typedef int (*acpi_op_add) (struct acpi_device * device); > typedef int (*acpi_op_remove) (struct acpi_device * device); > -typedef int (*acpi_op_start) (struct acpi_device * device); > typedef void (*acpi_op_notify) (struct acpi_device * device, u32 event); > > struct acpi_device_ops { > acpi_op_add add; > acpi_op_remove remove; > - acpi_op_start start; > acpi_op_notify notify; > }; > > Acked-by: Yinghai Lu