From patchwork Mon Feb 17 07:21:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3660511 Return-Path: X-Original-To: patchwork-linux-arm@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 152599F38B for ; Mon, 17 Feb 2014 07:57:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 21AB8201EF for ; Mon, 17 Feb 2014 07:57:54 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2460E20103 for ; Mon, 17 Feb 2014 07:57:53 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFIVN-0007GK-Ky; Mon, 17 Feb 2014 07:20:41 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFIVK-0001qx-Ox; Mon, 17 Feb 2014 07:20:38 +0000 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFIVG-0001pt-Cu for linux-arm-kernel@lists.infradead.org; Mon, 17 Feb 2014 07:20:36 +0000 Received: by mail-pa0-f45.google.com with SMTP id lf10so14908542pab.32 for ; Sun, 16 Feb 2014 23:20:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=rSMWfnTKO6uHUNLcMOF832Hk3ic/GyjHAxbaYXkbUxQ=; b=kZJmeZ/KyqU57tR0jumEw0GWNO84wd6DHkuDV5o/utrr23n/+hZ9tUi9EHYmynNOA1 iYBMD9N9um64fVFj/JaMbxNF5Xtuk8vs/vrQIiJ2DBAY2lpbuXEXgYrBkDn+KhWKYxE9 t4zh+pSu8VSAbALci22e9hJ1hRXGo9TaQv76ReQ67y2HGsOi/su1O5Zuo0Wx6LnTh9eK 4naHqPiWet/zYry4Dt9n3cjBTUmLqjROI6yP1ilZ77iUpePtSY1DvaqGhJfwg42CNbcq NuSW6SQHLFB+JNHFPY+DcS1Uj6poQk1ShT25KO4fIBwg0v+0iQXG4Kq4pWzgNWGgpCFN bqwg== X-Received: by 10.68.231.35 with SMTP id td3mr6739608pbc.137.1392621612848; Sun, 16 Feb 2014 23:20:12 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id sx8sm110437471pab.5.2014.02.16.23.20.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Feb 2014 23:20:11 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 17 Feb 2014 16:21:28 +0900 Message-Id: <20140217072128.27086.81905.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Remove Koelsch DT reference legacy clock bits X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140217_022034_551395_ED77745B X-CRM114-Status: UNSURE ( 7.43 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: horms@verge.net.au, Magnus Damm , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Koelsch DT reference is these days built for multiplatform only which means that CCF comes with the package. Remove unused legacy code ifdefs to clean up the code. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart --- Written against renesas-devel-v3.14-rc3-20140217 arch/arm/mach-shmobile/board-koelsch-reference.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) --- 0001/arch/arm/mach-shmobile/board-koelsch-reference.c +++ work/arch/arm/mach-shmobile/board-koelsch-reference.c 2014-02-17 16:10:07.000000000 +0900 @@ -84,7 +84,6 @@ static void __init koelsch_add_du_device static void __init koelsch_add_standard_devices(void) { -#ifdef CONFIG_COMMON_CLK /* * This is a really crude hack to provide clkdev support to the CMT and * DU devices until they get moved to DT. @@ -125,9 +124,7 @@ static void __init koelsch_add_standard_ clk_put(clk); } } -#else - r8a7791_clock_init(); -#endif + r8a7791_add_dt_devices(); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);