linux/drivers/video/omap2/displays
Lars-Peter Clausen 9056df19c2 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:
// <smpl>
@@
identifier _driver;
@@
struct spi_driver _driver = {
	.driver = {
-		.bus = &spi_bus_type,
	},
};
// </smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
2011-12-03 22:05:56 +00:00
..
Kconfig video/omap: fix build dependencies 2011-10-03 13:28:14 +03:00
Makefile OMAPDSS: Add N800 panel driver 2011-09-30 16:17:30 +03:00
panel-acx565akm.c video: Remove redundant spi driver bus initialization 2011-12-03 22:05:56 +00:00
panel-dvi.c OMAP: DSS2: add panel-dvi driver 2011-09-30 16:16:48 +03:00
panel-generic-dpi.c OMAPDSS: Port the Apollon display driver to DSS2 2011-09-30 16:17:29 +03:00
panel-lgphilips-lb035q02.c OMAP: DSS2: Move display.h to include/video/ 2011-05-11 14:05:07 +03:00
panel-n8x0.c video: Remove redundant spi driver bus initialization 2011-12-03 22:05:56 +00:00
panel-nec-nl8048hl11-01b.c video: Remove redundant spi driver bus initialization 2011-12-03 22:05:56 +00:00
panel-picodlp.c OMAPDSS: picodlp: add missing #include <linux/module.h> 2011-10-04 11:45:29 +03:00
panel-picodlp.h OMAP: DSS2: Add picodlp panel driver 2011-09-14 18:08:23 +03:00
panel-sharp-ls037v7dw01.c OMAP: DSS2: use __exit for selected panel drivers 2011-05-11 14:19:26 +03:00
panel-taal.c Merge branch 'for-florian' of git://gitorious.org/linux-omap-dss2/linux into fbdev-next 2011-10-15 00:19:52 +00:00
panel-tpo-td043mtea1.c video: Remove redundant spi driver bus initialization 2011-12-03 22:05:56 +00:00