ARM: 6483/1: arm & sh: factorised duplicated clkdev.c
authorJean-Christop PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 17 Nov 2010 09:04:33 +0000 (10:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 26 Nov 2010 10:51:04 +0000 (10:51 +0000)
factorise some generic infrastructure to assist looking up struct clks
for the ARM & SH architecture.

as the code is identical at 99%

put the arch specific code for allocation as example in asm/clkdev.h

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found