Messages in this thread | | | From | Thomas Renninger <> | Subject | Re: [PATCH] drivers/acpi/processor_thermal.c | Date | Thu, 11 Feb 2010 12:04:50 +0100 |
| |
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
| |