From patchwork Mon Feb 17 07:19:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3660381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3DDC3BF13A for ; Mon, 17 Feb 2014 07:26:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B831201F4 for ; Mon, 17 Feb 2014 07:26:15 +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 61C9520172 for ; Mon, 17 Feb 2014 07:26:14 +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 1WFIag-0008Ol-P3; Mon, 17 Feb 2014 07:26:10 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFIae-00020c-CD; Mon, 17 Feb 2014 07:26:08 +0000 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFIab-000209-WD for linux-arm-kernel@lists.infradead.org; Mon, 17 Feb 2014 07:26:06 +0000 Received: by mail-pa0-f41.google.com with SMTP id fa1so14912920pad.14 for ; Sun, 16 Feb 2014 23:25:44 -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=0ser4o4qPOEEh9XOipwZOQwS2+4thkIDxTc5/tTlZCo=; b=1Aeu7tO1MmUFTdpU5BpAMZVleES7r6W7YOxSWo6WvHTLeH9Z8u1I1WNK/V07uFh5f/ hn0jBJwk//tr05DQW437YuyChr/HM7Wvoj1oflDN87BUYMTN4vSw6WwfB7c/06nMgZL9 pPesyajWkZ3tQNazUO5D/x5j65TG/x8tq83d549KMgtLdOOCNj4+GOvPg1GYtTrztSPC d4zm6LPLZEyFIgmS/5Dxj3TLN2cEVtmxtalz/HV9C/zeHFybvdVe9XAkmBATdP+qvOSJ /eYek01Cc/oyNxYmIjPs2bcdURXRUoll/8uqCtLXqvem4R+PtqsA30kXFIqRF2QsaxZC pLKw== X-Received: by 10.66.227.193 with SMTP id sc1mr24964726pac.102.1392621511773; Sun, 16 Feb 2014 23:18:31 -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 hb10sm42589874pbd.1.2014.02.16.23.18.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Feb 2014 23:18:30 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 17 Feb 2014 16:19:45 +0900 Message-Id: <20140217071945.27066.10828.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Remove Lager DT reference legacy clock bits X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140217_022606_175201_116C64A1 X-CRM114-Status: UNSURE ( 6.71 ) 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 Lager 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-lager-reference.c | 4 ---- 1 file changed, 4 deletions(-) --- 0001/arch/arm/mach-shmobile/board-lager-reference.c +++ work/arch/arm/mach-shmobile/board-lager-reference.c 2014-02-17 16:08:31.000000000 +0900 @@ -88,7 +88,6 @@ static void __init lager_add_du_device(v static void __init lager_add_standard_devices(void) { -#ifdef CONFIG_COMMON_CLK /* * This is a really crude hack to provide clkdev support to platform * devices until they get moved to DT. @@ -126,9 +125,6 @@ static void __init lager_add_standard_de clk_put(clk); } } -#else - r8a7790_clock_init(); -#endif r8a7790_add_dt_devices(); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);