diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-09-14 18:01:21 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-09-14 18:01:21 -0400 |
commit | a5ffef6af127721a813d70f87cd8cc348ea9d6ab (patch) | |
tree | c68df36339ab9a6842a35813d5ec3d05683b516c /arch/arm/mach-omap2/clockdomain44xx.c | |
parent | 08cb9703e2922db297d8f83ec110bde37823e021 (diff) |
OMAP: clockdomain code/data: remove omap_chip bitmask from struct clockdomain
At Tony's request, remove the omap_chip bitmasks from the clockdomain
and clockdomain dependency definitions. Instead, initialize
clockdomains based on one or more lists that are applicable to a
particular SoC family, variant, and silicon revision.
Tony Lindgren <tony@atomide.com> found a bug in a previous version of this
patch - thanks Tony.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/clockdomain44xx.c')
-rw-r--r-- | arch/arm/mach-omap2/clockdomain44xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clockdomain44xx.c b/arch/arm/mach-omap2/clockdomain44xx.c index b43706aa08bd..935c7f03dab9 100644 --- a/arch/arm/mach-omap2/clockdomain44xx.c +++ b/arch/arm/mach-omap2/clockdomain44xx.c | |||
@@ -52,8 +52,6 @@ static int omap4_clkdm_clear_all_wkup_sleep_deps(struct clockdomain *clkdm) | |||
52 | u32 mask = 0; | 52 | u32 mask = 0; |
53 | 53 | ||
54 | for (cd = clkdm->wkdep_srcs; cd && cd->clkdm_name; cd++) { | 54 | for (cd = clkdm->wkdep_srcs; cd && cd->clkdm_name; cd++) { |
55 | if (!omap_chip_is(cd->omap_chip)) | ||
56 | continue; | ||
57 | if (!cd->clkdm) | 55 | if (!cd->clkdm) |
58 | continue; /* only happens if data is erroneous */ | 56 | continue; /* only happens if data is erroneous */ |
59 | 57 | ||