alistair23-linux/drivers/staging/iio/dds
Lars-Peter Clausen 94386ab0b4 staging:iio: 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_register_driver() 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: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-08 11:33:19 -08:00
..
ad5930.c staging:iio: Add missing MODULE_DEVICE_TABLE and MODULE_ALIAS 2011-11-26 16:48:04 -08:00
ad9832.c staging:iio: Remove redundant spi driver bus initialization 2011-12-08 11:33:19 -08:00
ad9832.h staging:iio:dds:ad9832: allocate chip state with iio_dev and use iio_priv to access. 2011-06-28 14:39:45 -07:00
ad9834.c staging:iio: Remove redundant spi driver bus initialization 2011-12-08 11:33:19 -08:00
ad9834.h staging:iio:ad9834: allocate chip state with iio_dev and use iio_priv to access. 2011-06-28 14:39:45 -07:00
ad9850.c staging:iio: Add missing MODULE_DEVICE_TABLE and MODULE_ALIAS 2011-11-26 16:48:04 -08:00
ad9852.c staging:iio: Add missing MODULE_DEVICE_TABLE and MODULE_ALIAS 2011-11-26 16:48:04 -08:00
ad9910.c staging:iio: Add missing MODULE_DEVICE_TABLE and MODULE_ALIAS 2011-11-26 16:48:04 -08:00
ad9951.c staging:iio: Add missing MODULE_DEVICE_TABLE and MODULE_ALIAS 2011-11-26 16:48:04 -08:00
dds.h
Kconfig staging: iio: Move sensor drivers to sub menus 2011-09-26 17:31:50 -07:00
Makefile