From patchwork Tue Jan 20 11:58:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 5668421 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 915DE9F333 for ; Tue, 20 Jan 2015 11:54:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B618020353 for ; Tue, 20 Jan 2015 11:54:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 E60B320351 for ; Tue, 20 Jan 2015 11:54:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YDXMH-0001MW-Kl; Tue, 20 Jan 2015 11:52:33 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YDXMC-0001Hd-Pk for linux-arm-kernel@lists.infradead.org; Tue, 20 Jan 2015 11:52:29 +0000 Received: by mail-pa0-f44.google.com with SMTP id et14so45230707pad.3 for ; Tue, 20 Jan 2015 03:52:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=VZBZcteKgZM4Y6rFhOMpX8dXKVs87XZAmC9KIEp10H8=; b=bgk+ueHVfxaXnKjbsAK2UaayxjocrZVmQaSrDZraGCm/P4xMe/4h9aBtD0ST+SPSz/ g3FbjV1k5w6eTefyPM+5YZzuI36L9rBfrnGz3qhQkkI8/pP/3ZDXcJQlFecbrgVFkfLo T5lXveA1QYduZGZ+pGhTv0qGk79DAXQ5YeBiBB3vHJaZPGWXsgAJG96JFbuTmiE40nBj EciwrlMyzcrPvxXdxIZVna/5sFTUBtyRn3Xg+IcFeYUfTiuR0Qk+EcQFQF7Enp6i797r gu/mWkoQy/sJp2IXTalRPop+J+kkWumu8LOlG/3gjQ2MAIlP8V01fE5sPHdUEbQjsxCt 7uQw== X-Received: by 10.66.178.198 with SMTP id da6mr52965240pac.126.1421754727532; Tue, 20 Jan 2015 03:52:07 -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 qv9sm3051574pab.27.2015.01.20.03.52.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jan 2015 03:52:06 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Tue, 20 Jan 2015 20:58:10 +0900 Message-Id: <20150120115810.11479.53290.sendpatchset@little-apple> In-Reply-To: <20150120115750.11479.95109.sendpatchset@little-apple> References: <20150120115750.11479.95109.sendpatchset@little-apple> Subject: [PATCH 02/03] ARM: shmobile: Remove mach/clkdev.h X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150120_035228_889644_154B66DB X-CRM114-Status: UNSURE ( 7.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: geert+renesas@glider.be, horms@verge.net.au, Magnus Damm , laurent.pinchart+renesas@ideasonboard.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Move over ARCH_SHMOBILE_LEGACY to use the default legacy ARM implementations of __clk_get() and __clk_put() in by deselecting HAVE_MACH_CLKDEV. This has the nice side effect that is no longer used and can be removed. Signed-off-by: Magnus Damm --- arch/arm/Kconfig | 1 - arch/arm/mach-shmobile/clock.c | 11 ----------- arch/arm/mach-shmobile/include/mach/clkdev.h | 7 ------- 3 files changed, 19 deletions(-) --- 0001/arch/arm/Kconfig +++ work/arch/arm/Kconfig 2015-01-20 20:27:11.307765682 +0900 @@ -644,7 +644,6 @@ config ARCH_SHMOBILE_LEGACY select GENERIC_CLOCKEVENTS select HAVE_ARM_SCU if SMP select HAVE_ARM_TWD if SMP - select HAVE_MACH_CLKDEV select HAVE_SMP select MIGHT_HAVE_CACHE_L2X0 select MULTI_IRQ_HANDLER --- 0001/arch/arm/mach-shmobile/clock.c +++ work/arch/arm/mach-shmobile/clock.c 2015-01-20 20:27:11.307765682 +0900 @@ -45,14 +45,3 @@ int __init shmobile_clk_init(void) return 0; } - -int __clk_get(struct clk *clk) -{ - return 1; -} -EXPORT_SYMBOL(__clk_get); - -void __clk_put(struct clk *clk) -{ -} -EXPORT_SYMBOL(__clk_put); --- 0001/arch/arm/mach-shmobile/include/mach/clkdev.h +++ /dev/null 2015-01-13 15:44:39.280208949 +0900 @@ -1,7 +0,0 @@ -#ifndef __ASM_MACH_CLKDEV_H -#define __ASM_MACH_CLKDEV_H - -int __clk_get(struct clk *clk); -void __clk_put(struct clk *clk); - -#endif /* __ASM_MACH_CLKDEV_H */