[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201002111204.50843.trenn@suse.de>
Date: Thu, 11 Feb 2010 12:04:50 +0100
From: Thomas Renninger <trenn@...e.de>
To: Julia Lawall <julia@...u.dk>
Cc: Darren Jenkins <darrenrjenkins@...il.com>,
Len Brown <lenb@...nel.org>, Zhang Rui <rui.zhang@...el.com>,
H Hartley Sweeten <hsweeten@...ionengravers.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux ACPI <linux-acpi@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Kernel Janitors <kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH] drivers/acpi/processor_thermal.c
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists