From patchwork Sun Nov 11 04:39:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 1724871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 0CE79DF288 for ; Sun, 11 Nov 2012 04:45:37 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TXPO3-0008Ky-98; Sun, 11 Nov 2012 04:43:11 +0000 Received: from mail-da0-f49.google.com ([209.85.210.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TXPLz-0006qN-2s for linux-arm-kernel@lists.infradead.org; Sun, 11 Nov 2012 04:41:04 +0000 Received: by mail-da0-f49.google.com with SMTP id q27so2059225daj.36 for ; Sat, 10 Nov 2012 20:41:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references:x-gm-message-state; bh=n1kmS9x0wCOyV3ZHiye/sOSwG55+NtPrF3K2Ht+fcC8=; b=OrGI9NUZpu4dJR0v6reLN/DjGL19rm6bH5hI+uF/tck9YBjF1UAIdjRHpSRoz8yer0 v6yLPj0K0wjA7gwpanFv/pMsDHP/DEnlzSDydMUMQvhqirBRh+7OVeD6SqdsbJ9bRoGU DKk6B4H3St/ojlOHNDE4piu3n2MVUlrOnGx8h9Y35bAPotHFU7S+CKFY35MqSao5S8Bl t+9sPVe/Zx8oVJ1BRYXJTgRvB1MWP0+C06Bb6w81E3vr2m1oihgaqnFOO5o39ezM6KhU bshqnCEXBC+PMQW+UqmF7qew9rrTlhFc+mU4ntkbWPafgJ6yBm5NlU7FSWdNahEfVhdz n4hA== Received: by 10.66.73.227 with SMTP id o3mr11896812pav.78.1352608862827; Sat, 10 Nov 2012 20:41:02 -0800 (PST) Received: from localhost ([122.178.255.135]) by mx.google.com with ESMTPS id v2sm1998170paz.27.2012.11.10.20.40.59 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Nov 2012 20:41:02 -0800 (PST) From: Viresh Kumar To: arm@kernel.org, olof@lixom.net, arnd@arndb.de Subject: [PATCH 10/14] ARM: SPEAr13xx: Remove fields not required for ssp controller Date: Sun, 11 Nov 2012 10:09:32 +0530 Message-Id: <5562298b700d7c63601d06b246d03a1946f57faa.1352608333.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQlTaU/Jbrv5A0gzCQJRyRNpVoS6rwzt/XbvXWTUAYvbNSQ4wvnN39IJecI+Z/RTd8S7CGMF X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121110_234103_507775_4E6FD59A X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Viresh Kumar , devicetree-discuss@lists.ozlabs.org, spear-devel@list.st.com, sr@denx.de, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Shiraz Hashim Few fields are not required to be programmed in platform data of spi controller now, as it comes via DT. Remove them. Signed-off-by: Shiraz Hashim Signed-off-by: Viresh Kumar --- arch/arm/mach-spear13xx/spear1310.c | 2 -- arch/arm/mach-spear13xx/spear13xx.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arm/mach-spear13xx/spear1310.c b/arch/arm/mach-spear13xx/spear1310.c index 593a756..451f3b1 100644 --- a/arch/arm/mach-spear13xx/spear1310.c +++ b/arch/arm/mach-spear13xx/spear1310.c @@ -34,9 +34,7 @@ /* ssp device registration */ static struct pl022_ssp_controller ssp1_plat_data = { - .bus_id = 0, .enable_dma = 0, - .num_chipselect = 3, }; /* Add SPEAr1310 auxdata to pass platform data */ diff --git a/arch/arm/mach-spear13xx/spear13xx.c b/arch/arm/mach-spear13xx/spear13xx.c index 5633d69..c4af775 100644 --- a/arch/arm/mach-spear13xx/spear13xx.c +++ b/arch/arm/mach-spear13xx/spear13xx.c @@ -57,12 +57,10 @@ static struct dw_dma_slave ssp_dma_param[] = { }; struct pl022_ssp_controller pl022_plat_data = { - .bus_id = 0, .enable_dma = 1, .dma_filter = dw_dma_filter, .dma_rx_param = &ssp_dma_param[1], .dma_tx_param = &ssp_dma_param[0], - .num_chipselect = 3, }; /* CF device registration */