sh: Get rid of sh7724 hwblk clock names
PATCH 6/13 sh: Get rid of sh7724 hwblk clock names
From: Magnus Damm <[email protected]>
Get rid of name and id from sh7724 hwblk clocks.
Signed-off-by Magnus Damm <[email protected]>
---
arch/sh/include/asm/hwblk.h | 4 - arch/sh/kernel/cpu/sh4a/clock-sh7724.c | 108 ++++++++++++++++---------------- 2 files changed, 55 insertions(+), 57 deletions(-)
arch/sh/include/asm/hwblk.h +1 -3
@@ -58,10 +58,8 @@ void hwblk_cnt_inc(struct hwblk_info *invoid 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) \ +#define SH_HWBLK_CLK (_parent, _hwblk, _flags) \ [_hwblk] = { \ - .name = _name, \ - .id = _id, \ .parent = _parent, \ .arch_flags = _hwblk, \ .flags = _flags, \
arch/sh/kernel/cpu/sh4a/clock-sh7724.c +54 -54
114 lines not on this page · raw message