From 2f7d63f909900c555baf36a4c6a11e9bf8e1af18 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 26 May 2011 04:03:10 -0400 Subject: Blackfin: boards: clean up redundant/dead spi resources The default for the Blackfin SPI driver is 8 bits and dma disabled, so many of the bfin5xx_spi_chip resources are redundant. So punt those parts. Further, drivers should themselves be declaring 16 bit transfers, so for those that do, and for the ones which no longer do 16 bit transfers, drop the bfin5xx_spi_chip resources. Signed-off-by: Mike Frysinger --- arch/blackfin/mach-bf537/boards/dnp5370.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/blackfin/mach-bf537/boards/dnp5370.c') diff --git a/arch/blackfin/mach-bf537/boards/dnp5370.c b/arch/blackfin/mach-bf537/boards/dnp5370.c index 6b4ff4605bf..8bc951de979 100644 --- a/arch/blackfin/mach-bf537/boards/dnp5370.c +++ b/arch/blackfin/mach-bf537/boards/dnp5370.c @@ -130,7 +130,6 @@ static struct platform_device asmb_flash_device = { static struct bfin5xx_spi_chip mmc_spi_chip_info = { .enable_dma = 0, /* use no dma transfer with this chip*/ - .bits_per_word = 8, }; #endif @@ -161,7 +160,6 @@ static struct flash_platform_data bfin_spi_dataflash_data = { static struct bfin5xx_spi_chip spi_dataflash_chip_info = { .enable_dma = 0, /* use no dma transfer with this chip*/ - .bits_per_word = 8, }; #endif -- cgit v1.2.3