From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toshi Kani Subject: Re: [PATCH] ACPI: Drop device start operation that is not used Date: Tue, 22 Jan 2013 15:14:46 -0700 Message-ID: <1358892886.14145.355.camel@misato.fc.hp.com> 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="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from g1t0028.austin.hp.com ([15.216.28.35]:43618 "EHLO g1t0028.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797Ab3AVWYn (ORCPT ); Tue, 22 Jan 2013 17:24:43 -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: Yinghai Lu , ACPI Devel Maling List , LKML , Len Brown , Matthew Garrett , Bjorn Helgaas On Tue, 2013-01-22 at 23:25 +0100, 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 Acked-by: Toshi Kani Thanks, -Toshi > --- > 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; > }; > >