From: Lars-Peter Clausen Date: Thu, 24 Nov 2011 15:29:19 +0000 (+0100) Subject: video: Remove redundant spi driver bus initialization X-Git-Tag: v3.3-rc1~59^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9056df19c2a63cec88cf580ab131214ef90d5cb1;p=pandora-kernel.git video: Remove redundant spi driver bus initialization 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: // @@ identifier _driver; @@ struct spi_driver _driver = { .driver = { - .bus = &spi_bus_type, }, }; // Signed-off-by: Lars-Peter Clausen Acked-by: Tomi Valkeinen Cc: linux-fbdev@vger.kernel.org Cc: linux-omap@vger.kernel.org Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed