Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1859054imu; Wed, 21 Nov 2018 03:08:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/W3iNoHGLFrh26fKlO95296O34T496PD6JXB7mMDR1aK8X7w2ZI70gJMErWaxLayzeohx3f X-Received: by 2002:a63:20e:: with SMTP id 14mr5495028pgc.161.1542798483982; Wed, 21 Nov 2018 03:08:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542798483; cv=none; d=google.com; s=arc-20160816; b=m75kZdAzfeYE6W+xPr3qo0V6KlJz6N9h6dQ841afp3ARZM8FHDqA1eqcbIIqzxugk9 Usb2IRnFswjPahY2U3LBinIYVeZc4HRmoturUUwoWBuPU8faIoRZXW9fBzmQ+yssNeey +lLlLwkCiCv0DBa4HOYKSf9SRt+FBGBPHo6hI97Mlb7e+s5b8fKTOMFUfSSokYBdhhVw e0fWM4nwRCUPebWqXS+qxaYRSgYZvOKUdGn0m+d4k8em4ioCWh7R0rvsduG3rTo4WrtB KSYkI1kI/oKNsBrIaA1wDqMwdOH2T5OPeyKGZKWAm4qenlo7UXBpyp5RD1gs6xOeuv2m ZN4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=SvA8iB/0liNWiwDNiorEUVzgELHH4Zp2PaoIpXtjOyw=; b=t+oSv7SHnKOt9KcMFVkDVID+2/ifyPgSSiA6vObtjtDW87de7dUXbqJT5yoMF/jDUT 6Oo839yASa8PPnoZuJ8oHgeXPeXvJ3W8pgZgETv+XTcamFqhxAMhkeSt0ym5mz8bcqPp O2IniR9CRb/Mj5et0BKDsRGo0O/S481GmHqaODgFqwyxtz1428AYLlzH4UvGvQALb3rM 5akV5i98j+3EJzG1ieKiZ08wt5bRz7LNkZQ+HeteLsBljVLx1gT/WfgjmHi/EmcORVrx j9bthQwUuWbJwV+oSBrI7Nvvbsppt8PDCqbXDRTqREN29/p8jD7jkwRBeuC6hSmNrsQo ZL+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tMxOU5k0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si45517080pgq.13.2018.11.21.03.07.38; Wed, 21 Nov 2018 03:08:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tMxOU5k0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730018AbeKUVk1 (ORCPT + 99 others); Wed, 21 Nov 2018 16:40:27 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:39762 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728114AbeKUVkU (ORCPT ); Wed, 21 Nov 2018 16:40:20 -0500 Received: by mail-lj1-f193.google.com with SMTP id t9-v6so4452120ljh.6; Wed, 21 Nov 2018 03:06:21 -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=BoWwSLFLMVqtnj6fz5b8XsQoD4amk3NFrWv8ZE0HmBm4gGcE2Ymg8dnH1DhhEeQdVD 2362Gm2yGhE/WUgwUyQdQaNnGuuQIe0jiXfZQQ+ZAjqYWa/HLmbDHnOgJF8lgSasS43z 7+c6x6xm/fj9u5gSQCY7DRksTUWX8hPElKJndW7DUbMNaDQB+wJdaOj1nlW08QiwICWT TGsCYI5H3/oFW+ODK4yvNw8ureUDDBZxmHKzZRVjeu4+cMnOzVZbE+daZZCngmTqfBql 98YpqrXvhCDILcFxDYbmurQYMnxmPJ8S0xzVje/jTFdx52yTxAm70vrduT7xCFIifEtX 7NQg== X-Gm-Message-State: AA+aEWYMjzmkHO+61UOu6qMumpR6dSDV+roq/Hx4fxsNvZ+5hBSg82d5 5WAqcvZjRx6DrksQ14Do+Oc= 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 Cc: Tony Lindgren , Aaro Koskinen , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Linus Walleij , linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" -- 2.18.1