ARM: OMAP: McSPI: Remove unused flag from struct omap2_mcspi_device_config
authorJarkko Nikula <jarkko.nikula@bitmer.com>
Fri, 24 Feb 2012 18:33:58 +0000 (10:33 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Feb 2012 18:33:58 +0000 (10:33 -0800)
Flag single_channel in struct omap2_mcspi_device_config is not used
by drivers/spi/spi-omap2-mcspi.c so we may remove it from include/plat/mcspi.h
and affected board files.

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-cm-t35.c
arch/arm/mach-omap2/board-n8x0.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/board-zoom-display.c
arch/arm/mach-omap2/common-board-devices.c
arch/arm/plat-omap/include/plat/mcspi.h

index e921e3be24a4575d5bc4ea908f9fe8bc19c78355..d839c0506d8e08fce001cebddf5bac5bbb65599b 100644 (file)
@@ -280,7 +280,6 @@ static struct omap_dss_board_info cm_t35_dss_data = {
 
 static struct omap2_mcspi_device_config tdo24m_mcspi_config = {
        .turbo_mode     = 0,
-       .single_channel = 1,    /* 0: slave, 1: master */
 };
 
 static struct tdo24m_platform_data tdo24m_config = {
index 42a4d11fad23de92c36cec7a87fe5ebfd34e4bbe..a9e983e01199d14f8438881496016336e8d3a91d 100644 (file)
@@ -137,7 +137,6 @@ static void __init n8x0_usb_init(void) {}
 
 static struct omap2_mcspi_device_config p54spi_mcspi_config = {
        .turbo_mode     = 0,
-       .single_channel = 1,
 };
 
 static struct spi_board_info n800_spi_board_info[] __initdata = {
index acb4e77b39efd088538ef6d7c6542f64ab6411e1..0a668916e3c19f604b3eda2e118e0292b0024a1f 100644 (file)
@@ -138,17 +138,14 @@ static struct lp5523_platform_data rx51_lp5523_platform_data = {
 
 static struct omap2_mcspi_device_config wl1251_mcspi_config = {
        .turbo_mode     = 0,
-       .single_channel = 1,
 };
 
 static struct omap2_mcspi_device_config mipid_mcspi_config = {
        .turbo_mode     = 0,
-       .single_channel = 1,
 };
 
 static struct omap2_mcspi_device_config tsc2005_mcspi_config = {
        .turbo_mode     = 0,
-       .single_channel = 1,
 };
 
 static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = {
index d4683ba5f72182aa47ef94267ff9dc97c446b043..2818290367588747b40afb276a305107634d142e 100644 (file)
@@ -117,7 +117,6 @@ static struct omap_dss_board_info zoom_dss_data = {
 
 static struct omap2_mcspi_device_config dss_lcd_mcspi_config = {
        .turbo_mode             = 1,
-       .single_channel = 1,  /* 0: slave, 1: master */
 };
 
 static struct spi_board_info nec_8048_spi_board_info[] __initdata = {
index bcb0c5817167095b7d2b0edc536ab663a9463bd3..2d1d775f2c3e1fbe4d2b40c1b5caa8b9662421ed 100644 (file)
@@ -33,7 +33,6 @@
        defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
 static struct omap2_mcspi_device_config ads7846_mcspi_config = {
        .turbo_mode     = 0,
-       .single_channel = 1,    /* 0: slave, 1: master */
 };
 
 static struct ads7846_platform_data ads7846_config = {
index 3d51b18131cc0416656b6a66e39ab0b3b76e7f90..a357eb26bd258dfd6a969bf218da86d322f41ba1 100644 (file)
@@ -18,9 +18,6 @@ struct omap2_mcspi_dev_attr {
 
 struct omap2_mcspi_device_config {
        unsigned turbo_mode:1;
-
-       /* Do we want one channel enabled at the same time? */
-       unsigned single_channel:1;
 };
 
 #endif