Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4037008imm; Mon, 6 Aug 2018 15:33:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd6HFzEt1tryACexJlrLa4z5/2g0CRV5SqmF3Hpqw+Qd8D7eKaTt6D/sAaebF937OpK8tz8 X-Received: by 2002:a63:f657:: with SMTP id u23-v6mr16212805pgj.258.1533594814108; Mon, 06 Aug 2018 15:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533594814; cv=none; d=google.com; s=arc-20160816; b=x70z15VZ1ScDctJV9wI6IT93gFBCJRRMPmXBePNqLdO8plVsERzwjZWzfEfZ768JIP tW06UV7scVa+wXmuW93H+nJtEWcXNh3gLERUSx+IZjpJET/ERsIdDyH5itn0EZs33eXB STosxhUMv4R8OpWkWbtVK4L0kt/MOn2y7j34A8RnD6VIESnV+wY9cA2921HHwNSPopjq l/fUncMowYh8ppXECy+rVzobwtHpooe70inMq0UoTi9v2kM4iw29ijTXzNtufHqMUN/m b1vCxLdhAW2Jm2CmWAioxwxPCeiP+0ey6t45naGearxFQeCw5vRZKYMBtZfbWdvJGlv0 P7jA== 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:arc-authentication-results; bh=SWahyGay3HwJh/h6LbGc9ebdup+F8+u0inyd1av1TUw=; b=VsLO2Z085SHSUly4oq/iscBp3cFPWBk0+ZXm50kWGDVIKx3FZxHyfcs9clYwTql5Qc 00qFa0BH/+Y7Da2smHPriYRJIWYBDUrNX9Py0ADPdrGZiSgvb9yp9lWY+DlZ8XMVARuS gncCRX5/NuyAusTPUsrOFiBMM5adCOAg69jQ38pbUXIKOM805mf7wvmV7o5FSi43pGtR 1HYgQKrL+zXiMZpHZ26JP0v9bOLlYWmcphLh4sXGw/rW6ZP0oww8AEwLQQWevCU0uAM4 Tz/0FTJS7XLghBBFJKpDLYyBP8U69YgJv1OX2X45dG2GNpXaQFLramX4xlud8Y2vEk/P 5hLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DLvbaHVf; 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 p65-v6si14699274pga.401.2018.08.06.15.33.19; Mon, 06 Aug 2018 15:33:34 -0700 (PDT) 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=DLvbaHVf; 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 S2387667AbeHGAku (ORCPT + 99 others); Mon, 6 Aug 2018 20:40:50 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:44903 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728948AbeHGAkt (ORCPT ); Mon, 6 Aug 2018 20:40:49 -0400 Received: by mail-lf1-f66.google.com with SMTP id g6-v6so10177529lfb.11; Mon, 06 Aug 2018 15:29:36 -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=JBp9jYoOftB/9DXHVUyRc365lLu5P/NPDqmnFl7ZE+F7ZGfnORoUitOBY/0G4szJGQ mUhZ7z4XeJ0C1pWf3dg++0d8V/u0oSyOzthc4UtI51ygXNyB9sEYDqPghCFPDe2X1sIH 5/cC8JwL1X1/qFJTwnKNFBC8amFMSC1yNNZsx1ACevcVC1+xUdtHwy6lJUyCzXEvcdIx I7Q/8RiGVVQT9SWmnqdOvEji8++kZ+ccMAYz908URMslYark0BNQybbak2FUyYXOeqCB GFK/WPYpyForKHdbj4HL+Oc8R+TnhWhiCfsgIxT73xAbMcqeoHh/enut6/aa7GA8c+TA 14IA== X-Gm-Message-State: AOUpUlH6CWaxSNMOeXuaUUWcUrE7K/RkT904Y9YoaZHg/itMfw8lup7D AkbHctCvsTP2kOy7wSWay60Oy/fzNt49cw== 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 To: Boris Brezillon , Linus Walleij Cc: Jonathan Corbet , Miquel Raynal , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Tony Lindgren , Aaro Koskinen , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org, linux-doc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 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" -- 2.16.4