Message ID | 20180806222918.12644-7-jmkrzyszt@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 838B41390 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 6 Aug 2018 22:32:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F5B22986E for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 6 Aug 2018 22:32:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 626FA29877; Mon, 6 Aug 2018 22:32:20 +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.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI 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 5F8EB2986E for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 6 Aug 2018 22:32:19 +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=yc5jRybgCxnYwYAK86VzUgv/8yCREj5hKEA14LeNVNM=; b=jdmF5y9LIX8b0pt/smnkKM0wt9 f0bR2NibQerj39wNWws1Tv9ndQlbkFmdlXXTVv3yftDjceGxTmUn70KqSvR76T9YiNiOMG3xL7mPb 7RGH722j4s/z9zfdol554i594wgkRmn+MDBoSvK88L5I5GV/YuJWLht2ul6fvZTR3Z77AJKGI8Ncq c+CuQO5Grk667LHRBSGDaIVnZTu5ukzqTMMsKgoaP9ircr7S5m+D/pFeIocOSayOBJUVYZzZ+cYvQ Bq2EmiuKiOBjEyqG8eEJLyFrqVhka5UVGyN9fYaZlEpESg03rdlYixgMlLPYrB336+/VZCB6opQ/0 Qr2QSRfQ==; 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 1fmo2y-0001Sr-En; Mon, 06 Aug 2018 22:32:16 +0000 Received: from mail-lf1-x141.google.com ([2a00:1450:4864:20::141]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fmo0a-0005Rg-Ft; Mon, 06 Aug 2018 22:30:00 +0000 Received: by mail-lf1-x141.google.com with SMTP id a4-v6so10208190lff.5; Mon, 06 Aug 2018 15:29:38 -0700 (PDT) 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=SWahyGay3HwJh/h6LbGc9ebdup+F8+u0inyd1av1TUw=; b=DLvbaHVfIveNt1OnDBxk12VwUJvePDKmfiwXglM8Uv329JWmzCEgl669za2CUifPxP Hy/RM5Po8w2Rizm2UAqw925zl6afSZnTysAgUv4eTEgd0o9RULFOvaNWd685MERyVlno /3HKK3vEbIVySzzxS1MeAcU6cr4FOyLQd6a9bXNGZlLF7pwSoHWj4RA4Dij/Nt9i2Ax5 tKOgYi2oGqk90uBFRuoR+jeHRnty87f1pbB1vrr0aDx/G4GAOEvuDrMLsPOkfX3+9s2V XYhjsq5ipuSjpjvh4uvVPEUzW5NdTSWi1//1rNYc4xc/geueFlZk0u+Vkv1QPPSoq/jY dX/w== 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=SWahyGay3HwJh/h6LbGc9ebdup+F8+u0inyd1av1TUw=; b=mFz+K3xx37pnpv4lYXJeYV1+AIPZVneF//4IrBWIDHZ8QACcyZKmtRUVogXzi+gVQP d6w7aWoETr/IfuCoEiI/N0olHjarXhyM0wH5fW+6yr0sUYnfoXIhr8W92M43cJIaQq5/ 1IMPR0aE5ohY3BjqCpp746o6nX1n9XWjJpUIbYE2AM5u3vOaf1J35UkDSeF7dlgBg5aT dKOqAddf1SxZS3hiR5Sx4IVdPeuKhMGPnbc+8kHneKcA3Ie2V8D3lthYbGVjK47XSFIt 3Bk3Vvv2WenXnsX3Ep9RFTrToj603eElE7qh/QQiosMMylT+OR3t02kOvaqoeF3i3mGB eBfA== X-Gm-Message-State: AOUpUlGva+y1eA7yPcMhx6Pm9Jj2qJd6ZT6IJ3jff48KTfGRfZb0eKJw AeeD6NXnfH6xd8LawqDtBuA= X-Google-Smtp-Source: AAOMgpceb/pNRnyiT5iMuDkPQySRSy5cQViz00DEdxe0K16VqXpbOtlW/bnNiEeDAh+rdvIlKYft9g== X-Received: by 2002:a19:1dcf:: with SMTP id d198-v6mr11998875lfd.144.1533594576160; Mon, 06 Aug 2018 15:29:36 -0700 (PDT) Received: from z50.lan (93-181-165-181.internetia.net.pl. [93.181.165.181]) by smtp.gmail.com with ESMTPSA id o4-v6sm2438561ljc.67.2018.08.06.15.29.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 15:29:35 -0700 (PDT) From: Janusz Krzysztofik <jmkrzyszt@gmail.com> To: Boris Brezillon <boris.brezillon@bootlin.com>, Linus Walleij <linus.walleij@linaro.org> Subject: [RFC PATCH v2 06/12] ARM: OMAP1: ams-delta: drop obsolete NAND resources Date: Tue, 7 Aug 2018 00:29:12 +0200 Message-Id: <20180806222918.12644-7-jmkrzyszt@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180806222918.12644-1-jmkrzyszt@gmail.com> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180806222918.12644-1-jmkrzyszt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180806_152949_033530_CAC6D447 X-CRM114-Status: GOOD ( 12.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-omap@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>, Tony Lindgren <tony@atomide.com>, Richard Weinberger <richard@nod.at>, linux-gpio@vger.kernel.org, Aaro Koskinen <aaro.koskinen@iki.fi>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Marek Vasut <marek.vasut@gmail.com>, Janusz Krzysztofik <jmkrzyszt@gmail.com>, linux-mtd@lists.infradead.org, Miquel Raynal <miquel.raynal@bootlin.com>, Brian Norris <computersforpeace@gmail.com>, David Woodhouse <dwmw2@infradead.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[RFC,v2,01/12] mtd: rawnand: ams-delta: Assign mtd->dev.parent, not mtd->owner
|
expand
|
diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c index 16f7bbe47607..08e732bc1cd2 100644 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c @@ -321,20 +321,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"
Amstrad Delta NAND device 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 <jmkrzyszt@gmail.com> --- arch/arm/mach-omap1/board-ams-delta.c | 11 ----------- 1 file changed, 11 deletions(-)