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: 5668391 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 94E9AC058D for ; Tue, 20 Jan 2015 11:52:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C85F120396 for ; Tue, 20 Jan 2015 11:52:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 053CB20220 for ; Tue, 20 Jan 2015 11:52:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752657AbbATLwI (ORCPT ); Tue, 20 Jan 2015 06:52:08 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:38889 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752396AbbATLwI (ORCPT ); Tue, 20 Jan 2015 06:52:08 -0500 Received: by mail-pa0-f52.google.com with SMTP id kx10so14604810pab.11 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 Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , horms@verge.net.au, laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be 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 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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 */