From patchwork Mon Oct 27 23:09:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Belloni X-Patchwork-Id: 5166691 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E9F469F3ED for ; Mon, 27 Oct 2014 23:11:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 281AF201D3 for ; Mon, 27 Oct 2014 23:11:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E6CE920155 for ; Mon, 27 Oct 2014 23:11:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752925AbaJ0XKG (ORCPT ); Mon, 27 Oct 2014 19:10:06 -0400 Received: from down.free-electrons.com ([37.187.137.238]:55611 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752908AbaJ0XKD (ORCPT ); Mon, 27 Oct 2014 19:10:03 -0400 Received: by mail.free-electrons.com (Postfix, from userid 106) id 60B444735; Tue, 28 Oct 2014 00:10:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from localhost (128-79-216-6.hfc.dyn.abo.bbox.fr [128.79.216.6]) by mail.free-electrons.com (Postfix) with ESMTPSA id 20E3546E4; Tue, 28 Oct 2014 00:10:11 +0100 (CET) From: Alexandre Belloni To: Nicolas Ferre , Sebastian Reichel Cc: Jean-Christophe Plagniol-Villard , Dmitry Eremin-Solenikov , David Woodhouse , Maxime Ripard , Boris Brezillon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Alexandre Belloni Subject: [PATCH v2 7/8] ARM: at91: sam9g45/sam9rl: remove useless resources for rstc Date: Tue, 28 Oct 2014 00:09:36 +0100 Message-Id: <1414451377-11053-8-git-send-email-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1414451377-11053-1-git-send-email-alexandre.belloni@free-electrons.com> References: <1414451377-11053-1-git-send-email-alexandre.belloni@free-electrons.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The RAMC resources are now unnecessary in the reset driver, remove them. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9g45.c | 10 ---------- arch/arm/mach-at91/at91sam9rl.c | 5 ----- 2 files changed, 15 deletions(-) diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index 202d9438e1d9..2e1aae8152b7 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch/arm/mach-at91/at91sam9g45.c @@ -397,16 +397,6 @@ static struct resource rstc_resources[] = { .end = AT91SAM9G45_BASE_RSTC + SZ_16 - 1, .flags = IORESOURCE_MEM, }, - [1] = { - .start = AT91SAM9G45_BASE_DDRSDRC1, - .end = AT91SAM9G45_BASE_DDRSDRC1 + SZ_512 - 1, - .flags = IORESOURCE_MEM, - }, - [2] = { - .start = AT91SAM9G45_BASE_DDRSDRC0, - .end = AT91SAM9G45_BASE_DDRSDRC0 + SZ_512 - 1, - .flags = IORESOURCE_MEM, - }, }; static struct platform_device rstc_device = { diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c index 0e2cb3361b15..0b00b9c7bd82 100644 --- a/arch/arm/mach-at91/at91sam9rl.c +++ b/arch/arm/mach-at91/at91sam9rl.c @@ -335,11 +335,6 @@ static struct resource rstc_resources[] = { .end = AT91SAM9RL_BASE_RSTC + SZ_16 - 1, .flags = IORESOURCE_MEM, }, - [1] = { - .start = AT91SAM9RL_BASE_SDRAMC, - .end = AT91SAM9RL_BASE_SDRAMC + SZ_512 - 1, - .flags = IORESOURCE_MEM, - }, }; static struct platform_device rstc_device = {