Skip to contentSkip to conversation

sh: get rid of hwblk clock names

PATCH Applied Magnus Damm 1 participant 1 message May 10, 2010 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 5/7 sh: get rid of hwblk clock names

From: Magnus Damm <[email protected]>

Remove the clock name from sh7722/sh7723/sh7724
hwblk clocks. Lookup is handled by clkdev.

---

 arch/sh/include/asm/hwblk.h            |   12 +--
 arch/sh/kernel/cpu/sh4a/clock-sh7722.c |   55 +++++++--------
 arch/sh/kernel/cpu/sh4a/clock-sh7723.c |  105 +++++++++++++----------------
 arch/sh/kernel/cpu/sh4a/clock-sh7724.c |  114 +++++++++++++++-----------------
 4 files changed, 133 insertions(+), 153 deletions(-)
arch/sh/include/asm/hwblk.h +5 -7
@@ -58,13 +58,11 @@ void hwblk_cnt_inc(struct hwblk_info *in
 void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int cnt);
 
 /* allow clocks to enable and disable hardware blocks */
-#define SH_HWBLK_CLK(_name, _id, _parent, _hwblk, _flags)	\
-[_hwblk] = {							\
-	.name		= _name,			\
-	.id		= _id,				\
-	.parent		= _parent,			\
-	.arch_flags	= _hwblk,			\
-	.flags		= _flags,			\
+#define SH_HWBLK_CLK(_hwblk, _parent, _flags)	\
+[_hwblk] = {					\
+	.parent		= _parent,		\
+	.arch_flags	= _hwblk,		\
+	.flags		= _flags,		\
 }
 
 int sh_hwblk_clk_register(struct clk *clks, int nr);
arch/sh/kernel/cpu/sh4a/clock-sh7722.c +25 -30

62 lines not on this page · raw message

arch/sh/kernel/cpu/sh4a/clock-sh7723.c +49 -56

113 lines not on this page · raw message

arch/sh/kernel/cpu/sh4a/clock-sh7724.c +54 -60

121 lines not on this page · raw message