Re: [PATCH 09/11] video: Remove redundant spi driver bus initialization

2011-12-03 Thread Florian Tobias Schandinat
On 11/24/2011 03:29 PM, Lars-Peter Clausen wrote: In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_driver_register(), so we can drop the manual assignment. The patch was generated using the following

Re: [PATCH 09/11] video: Remove redundant spi driver bus initialization

2011-11-29 Thread Tomi Valkeinen
On Thu, 2011-11-24 at 16:29 +0100, Lars-Peter Clausen wrote: In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_driver_register(), so we can drop the manual assignment. The patch was generated using the

[PATCH 09/11] video: Remove redundant spi driver bus initialization

2011-11-24 Thread Lars-Peter Clausen
In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_driver_register(), so we can drop the manual assignment. The patch was generated using the following coccinelle semantic patch: // smpl @@ identifier _driver; @@