[PATCH] arch:blackfin:adis162** cleanup

From: Valentin Rothberg
Date: Wed Apr 06 2016 - 08:22:48 EST


Remove dead #if blocks referencing previously removed Kconfig options.

Signed-off-by: Valentin Rothberg <valentinrothberg@xxxxxxxxx>
---
arch/blackfin/mach-bf537/boards/stamp.c | 22 ----------------------
1 file changed, 22 deletions(-)

diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index eaec7b4832a2..84a9cdf4bfcf 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -1298,17 +1298,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
.irq = IRQ_PF4,
},
#endif
-#if IS_ENABLED(CONFIG_ADIS16204)
- {
- .modalias = "adis16204",
- .max_speed_hz = 1000000, /* max spi clock (SCK) speed in HZ */
- .bus_num = 0,
- .chip_select = 5, /* CS, change it for your board */
- .platform_data = NULL, /* No spi_driver specific config */
- .mode = SPI_MODE_3,
- .irq = IRQ_PF4,
- },
-#endif
#if IS_ENABLED(CONFIG_ADIS16209)
{
.modalias = "adis16209",
@@ -1320,17 +1309,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
.irq = IRQ_PF4,
},
#endif
-#if IS_ENABLED(CONFIG_ADIS16220)
- {
- .modalias = "adis16220",
- .max_speed_hz = 2000000, /* max spi clock (SCK) speed in HZ */
- .bus_num = 0,
- .chip_select = 5, /* CS, change it for your board */
- .platform_data = NULL, /* No spi_driver specific config */
- .mode = SPI_MODE_3,
- .irq = IRQ_PF4,
- },
-#endif
#if IS_ENABLED(CONFIG_ADIS16240)
{
.modalias = "adis16240",
--
2.8.0.rc3