From patchwork Tue Jun 13 12:54:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Belloni X-Patchwork-Id: 9783769 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DC20F60325 for ; Tue, 13 Jun 2017 12:54:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCD791FF61 for ; Tue, 13 Jun 2017 12:54:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1A84286C4; Tue, 13 Jun 2017 12:54:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C6F801FF61 for ; Tue, 13 Jun 2017 12:54:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=2Hi8oZDslYmsoNVyZ1NDUmKYISJwosL2M1JYa53tCc0=; b=Gcv Yfzdyt7gO8YaRcrlxXymNghtTGMSvjkte/jiPLqnXEv5kGEb0dXcK280AxB9CiGMegZiMYEhBoxDo h3+nXdDEei4zPjm+c4pDPcJTWiL7Jz4o1drJG0eQ0pgHLwDISCGunCkWrPrNqQ3nCldhsjvNa/R2i JgnpPP9vAUgLPFsnMPk0h9kPYE5YMZgVxYYeCoHdO183VR65xktuyi6pqJ6oypay7UH34wJ7ifh6h T1+np10/3ZRQk8JWsHHdaZTIBnDUvcH3k/hbj3Zr4DhDw5cpUofMRXiVrKiK0eiIUOn6VP7Aq++2b nMhpy17Y0nL7TjCElZ9Bq8SRbyV+Lzg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dKlL2-0007BP-Uf; Tue, 13 Jun 2017 12:54:28 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dKlKz-0007A9-SF for linux-arm-kernel@lists.infradead.org; Tue, 13 Jun 2017 12:54:27 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id E4CD221D7A; Tue, 13 Jun 2017 14:54:04 +0200 (CEST) Received: from localhost (unknown [88.191.26.124]) by mail.free-electrons.com (Postfix) with ESMTPSA id BFBF021D12; Tue, 13 Jun 2017 14:54:04 +0200 (CEST) From: Alexandre Belloni To: Boris Brezillon , Nicolas Ferre Subject: [PATCH] ARM: at91: remove atmel_nand_data Date: Tue, 13 Jun 2017 14:54:00 +0200 Message-Id: <20170613125400.12774-1-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170613_055426_057352_D42B9570 X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since AVR32 is gone and the driver rework, struct atmel_nand_data is not used anywhere. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- include/linux/platform_data/atmel.h | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h index 7b6dce7d6d33..70c5c766628e 100644 --- a/include/linux/platform_data/atmel.h +++ b/include/linux/platform_data/atmel.h @@ -7,8 +7,6 @@ #ifndef __ATMEL_H__ #define __ATMEL_H__ -#include -#include #include /* Compact Flash */ @@ -23,25 +21,6 @@ struct at91_cf_data { #define AT91_IDE_SWAP_A0_A2 0x02 }; - /* NAND / SmartMedia */ -struct atmel_nand_data { - int enable_pin; /* chip enable */ - int det_pin; /* card detect */ - int rdy_pin; /* ready/busy */ - u8 rdy_pin_active_low; /* rdy_pin value is inverted */ - u8 ale; /* address line number connected to ALE */ - u8 cle; /* address line number connected to CLE */ - u8 bus_width_16; /* buswidth is 16 bit */ - u8 ecc_mode; /* ecc mode */ - u8 on_flash_bbt; /* bbt on flash */ - struct mtd_partition *parts; - unsigned int num_parts; - bool has_dma; /* support dma transfer */ - - /* default is false, only for at32ap7000 chip is true */ - bool need_reset_workaround; -}; - /* Serial */ struct atmel_uart_data { int num; /* port num */