public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arch:blackfin:adis162** cleanup
@ 2016-04-06 12:21 Valentin Rothberg
  0 siblings, 0 replies; only message in thread
From: Valentin Rothberg @ 2016-04-06 12:21 UTC (permalink / raw)
  To: Lars-Peter Clausen, Jonathan Cameron, Steven Miao
  Cc: linux-kernel, Valentin Rothberg

Remove dead #if blocks referencing previously removed Kconfig options.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-06 12:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-06 12:21 [PATCH] arch:blackfin:adis162** cleanup Valentin Rothberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox