From patchwork Wed Nov 21 11:08:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Krzysztofik X-Patchwork-Id: 10692397 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D587413BF for ; Wed, 21 Nov 2018 11:06:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDA452B810 for ; Wed, 21 Nov 2018 11:06:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACAB72B830; Wed, 21 Nov 2018 11:06:56 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,HK_RANDOM_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 56AF82B810 for ; Wed, 21 Nov 2018 11:06:56 +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:References: In-Reply-To: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:List-Owner; bh=1Lr3E4P0egtiRLEMRdQ4N4NJRQO4f9RnN2zAdL97sMQ=; b=SbRafi6pShj1TidJe5llGW6yGD k9Z6OC/QZ8gVgrW8MMVmfwczGuMPSz5MAKW00QIoywu8TwXyvIgmsNiKi23XeCr1UzSWZtlEuNi4g fO+bLkn3YogpSvSFxh1rUJyWrEhpcjMzpWvrpIt/ifzmxqHPqVKyLXvmUlm5IhvuIqhvAjUwhWhyG kQDntGQWy+7kykWpFGJmyE1DIA3nanrUUPbcpMOMIHLxQIyW8JYU+3Hr3gi6PHpj1anUWeTx0GONw Sb+/YtKHmitB2xX2IP40LE0xHmSJzLygsSc25VaKRVUBlS6JHLQkV6WnENIZrikHujyQglDQE0/fj aoQjK7+A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPQLP-0007RK-4y; Wed, 21 Nov 2018 11:06:55 +0000 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPQKv-0006mP-Mb; Wed, 21 Nov 2018 11:06:28 +0000 Received: by mail-lj1-x242.google.com with SMTP id e5-v6so4450917lja.4; Wed, 21 Nov 2018 03:06:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SvA8iB/0liNWiwDNiorEUVzgELHH4Zp2PaoIpXtjOyw=; b=tMxOU5k0cslZHMlIfUvBdUHmq1Ry2NwkQXvLX2RDOsV4RPSMHUkqjtJmbcfpyFeSfv NaByQ3siV6ebsZAm2D7yIJXG+kfozHtuM1ghNNPyJBcJ+rEEXnOKiclH92vhvFmsN8W7 ZSbps9crF1CcA7zRnIXE9W4hqHk9KJjhn/TgrZuxpHbifIhU6XBAg7Z3HIm/0UrlxPf6 E6DeKdoYYjhUSFU1NyD8YnbBEMy41T1+F2tPy2wBFbSB4Fnf9y9d5uMS42OCZ3iPEXio wM/H8ovVU1jWcEVULT74WkTtRsp+NZ/JzXY2vzpS+CGqBPLDybRcu13qLLVR5sP2ePyA AALQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SvA8iB/0liNWiwDNiorEUVzgELHH4Zp2PaoIpXtjOyw=; b=DVCmwqSuRPr+6hL3UsLDs3o4mIfOEi1Y8TeIYAPt3u9zHloeot6KMcguM3+yXtmI/D fawgjHnDzdhoBlmWoOtDV3IDME/4AdFTB6HBx/iwQDbg90ynTzxj1wBxEBjRLqJqaDDo mZpba+lOaHAZW88Crq6MeC5pL8juIjoPNSPET9SdLpurreQDq6Tlat87o978Y9Kyo9/H uZH4qjq/8sGjvkfpbJNSwTBmJRMrkPoR/k2mqo/gAZaCVzhQxolO80N6Rqj5Kbw6yZBt hc5cr9et9ApPwYiMUCPF3koZL9LjMfSl79YwoVOX5idS/IpJOANrksbz+5oH9D/1QJJ6 rQlw== X-Gm-Message-State: AA+aEWa5+w9sRyz9b5eZXAuDh/37Gwc+2MqErlsicGdNar+O1vx/qXWF 4RSLmXd4Y+q1Om3eQkd77XA= X-Google-Smtp-Source: AFSGD/VjM/e7X735C5hPDWPwF58hLzcvook6hT6+LOsvdb25HxWODcuqc+6gxeHPVQmOAyDOf9v0NA== X-Received: by 2002:a2e:302:: with SMTP id 2-v6mr3532493ljd.137.1542798380645; Wed, 21 Nov 2018 03:06:20 -0800 (PST) Received: from z50.intranet (78-10-164-223.static.ip.netia.com.pl. [78.10.164.223]) by smtp.gmail.com with ESMTPSA id x11sm7280047lfd.81.2018.11.21.03.06.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 03:06:19 -0800 (PST) From: Janusz Krzysztofik To: Boris Brezillon , Miquel Raynal Subject: [PATCH v4 4/4] ARM: OMAP1: ams-delta: Drop obsolete NAND resources Date: Wed, 21 Nov 2018 12:08:06 +0100 Message-Id: <20181121110806.32076-5-jmkrzyszt@gmail.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181121110806.32076-1-jmkrzyszt@gmail.com> References: <20180813223448.21316-1-jmkrzyszt@gmail.com> <20181121110806.32076-1-jmkrzyszt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181121_030625_740214_4C33D3DB X-CRM114-Status: GOOD ( 13.64 ) 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: linux-omap@vger.kernel.org, Aaro Koskinen , Tony Lindgren , Richard Weinberger , Linus Walleij , Janusz Krzysztofik , linux-kernel@vger.kernel.org, Marek Vasut , linux-mtd@lists.infradead.org, Brian Norris , David Woodhouse , 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 Amstrad Delta NAND driver now uses GPIO API for data I/O so there is no need to assign memory I/O resource to the device any longer. Drop it. Signed-off-by: Janusz Krzysztofik --- arch/arm/mach-omap1/board-ams-delta.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c index 30c0d18f372e..d594f60c3224 100644 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c @@ -296,20 +296,9 @@ struct modem_private_data { static struct modem_private_data modem_priv; -static struct resource ams_delta_nand_resources[] = { - [0] = { - .start = OMAP1_MPUIO_BASE, - .end = OMAP1_MPUIO_BASE + - OMAP_MPUIO_IO_CNTL + sizeof(u32) - 1, - .flags = IORESOURCE_MEM, - }, -}; - static struct platform_device ams_delta_nand_device = { .name = "ams-delta-nand", .id = -1, - .num_resources = ARRAY_SIZE(ams_delta_nand_resources), - .resource = ams_delta_nand_resources, }; #define OMAP_GPIO_LABEL "gpio-0-15"