The code for sending and receiving spi data had multiple style problems, was repetative and contained errors. This series simplifies the code and fixes some of the problems. v1 to v2: Readded module.h, as MODULE_DEVICE_TABLE depends on it. Janosch Frank (7): staging/wilc1000: Introduce linux_spi_msg_init staging/wilc1000: Sanitize linux_spi_write_read staging/wilc1000: Sanitize linux_spi_read staging/wilc1000: Sanitize linux_spi_write staging/wilc1000: Remove unneeded imports staging/wilc1000: Remove unneeded USE_SPI_DMA staging/wilc1000: Remove unneeded forward declaration drivers/staging/wilc1000/linux_wlan_spi.c | 352 +++++++++++------------------- 1 file changed, 122 insertions(+), 230 deletions(-) -- 2.5.0 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel