Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754775AbcDFMWp (ORCPT ); Wed, 6 Apr 2016 08:22:45 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:35242 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753135AbcDFMWo (ORCPT ); Wed, 6 Apr 2016 08:22:44 -0400 From: Valentin Rothberg To: Lars-Peter Clausen , Jonathan Cameron , Steven Miao Cc: linux-kernel@vger.kernel.org, Valentin Rothberg Subject: [PATCH] arch:blackfin:adis162** cleanup Date: Wed, 6 Apr 2016 14:21:35 +0200 Message-Id: <1459945295-13520-1-git-send-email-valentinrothberg@gmail.com> X-Mailer: git-send-email 2.8.0.rc3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1508 Lines: 49 Remove dead #if blocks referencing previously removed Kconfig options. Signed-off-by: Valentin Rothberg --- 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