Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753259Ab0BKLEz (ORCPT ); Thu, 11 Feb 2010 06:04:55 -0500 Received: from cantor2.suse.de ([195.135.220.15]:56878 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752306Ab0BKLEx (ORCPT ); Thu, 11 Feb 2010 06:04:53 -0500 From: Thomas Renninger Organization: SUSE Products GmbH To: Julia Lawall Subject: Re: [PATCH] drivers/acpi/processor_thermal.c Date: Thu, 11 Feb 2010 12:04:50 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.32.1-0.0.14.f17927a-desktop; KDE/4.3.1; x86_64; ; ) Cc: Darren Jenkins , Len Brown , Zhang Rui , H Hartley Sweeten , Andrew Morton , linux ACPI , Linux Kernel Mailing List , Kernel Janitors References: <1265882211.27789.1.camel@ICE-BOX> <201002111124.51070.trenn@suse.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002111204.50843.trenn@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1085 Lines: 39 On Thursday 11 February 2010 11:52:20 Julia Lawall wrote: > On Thu, 11 Feb 2010, Thomas Renninger wrote: > > > Eh, > > > > what is this for?: > > static inline void *acpi_driver_data(struct acpi_device *d) > > { > > return d->driver_data; > > } ... > > A potential patch that gets rid of the uses is below. I don't have time > to look at this in more detail at the moment, but perhaps someone else > would like to do so. The semantic patch (http://coccinelle.lip6.fr) > involved is: > > @@ > struct acpi_device *d; > @@ > > - acpi_driver_data(d) > + d->driver_data Len, do you mind adding this to your test branch, please. I can grep over it afterwards (somewhen...) and void out acpi_driver_data(..) declaration in acpi_bus.h. I expect also Darren has to rebase his fixes on top of this one then. Thanks, Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/