From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 02/03] ARM: shmobile: Remove mach/clkdev.h
Date: Tue, 20 Jan 2015 20:58:10 +0900 [thread overview]
Message-ID: <20150120115810.11479.53290.sendpatchset@little-apple> (raw)
In-Reply-To: <20150120115750.11479.95109.sendpatchset@little-apple>
From: Magnus Damm <damm+renesas@opensource.se>
Move over ARCH_SHMOBILE_LEGACY to use the default legacy ARM
implementations of __clk_get() and __clk_put() in <asm/clkdev.h>
by deselecting HAVE_MACH_CLKDEV. This has the nice side effect
that <mach/clkdev.h> is no longer used and can be removed.
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---
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 */
next prev parent reply other threads:[~2015-01-20 11:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 11:57 [PATCH 00/03] ARM: shmobile: Minor header cleanup Magnus Damm
2015-01-20 11:58 ` [PATCH 01/03] ARM: shmobile: Remove mach/system.h Magnus Damm
2015-01-20 11:58 ` Magnus Damm [this message]
2015-01-20 11:58 ` [PATCH 03/03] ARM: shmobile: Remove mach/uncompress.h Magnus Damm
2015-01-20 12:43 ` [PATCH 00/03] ARM: shmobile: Minor header cleanup Laurent Pinchart
2015-01-20 13:31 ` Geert Uytterhoeven
2015-01-21 1:59 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150120115810.11479.53290.sendpatchset@little-apple \
--to=magnus.damm@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox