diff options
author | Rajendra Nayak <rnayak@ti.com> | 2011-02-25 17:48:14 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-02-25 18:09:05 -0500 |
commit | 5f8662ba3da6e410eb771b5d8751a1e02d87513f (patch) | |
tree | 65af774d539ade0919e409b2a120c4447df582ba /arch/arm/mach-omap2/clockdomain.c | |
parent | 15b08d930f0b1a65a20e042046bd99ed7f75556b (diff) |
OMAP4: clockdomain: Remove pr_errs' stating unsupported wkdep
Now that wkup and sleep dependencies are supported (in the
form of static deps) for OMAP4, remove all instances of
pr_errs' stating dependencies are still unsupported
on OMAP4.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/clockdomain.c')
-rw-r--r-- | arch/arm/mach-omap2/clockdomain.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c index 70d242007e0b..a0341dee1c3a 100644 --- a/arch/arm/mach-omap2/clockdomain.c +++ b/arch/arm/mach-omap2/clockdomain.c | |||
@@ -400,12 +400,6 @@ int clkdm_add_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) | |||
400 | struct clkdm_dep *cd; | 400 | struct clkdm_dep *cd; |
401 | int ret = 0; | 401 | int ret = 0; |
402 | 402 | ||
403 | if (!cpu_is_omap24xx() && !cpu_is_omap34xx()) { | ||
404 | pr_err("clockdomain: %s/%s: %s: not yet implemented\n", | ||
405 | clkdm1->name, clkdm2->name, __func__); | ||
406 | return -EINVAL; | ||
407 | } | ||
408 | |||
409 | if (!clkdm1 || !clkdm2) | 403 | if (!clkdm1 || !clkdm2) |
410 | return -EINVAL; | 404 | return -EINVAL; |
411 | 405 | ||
@@ -447,12 +441,6 @@ int clkdm_del_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) | |||
447 | struct clkdm_dep *cd; | 441 | struct clkdm_dep *cd; |
448 | int ret = 0; | 442 | int ret = 0; |
449 | 443 | ||
450 | if (!cpu_is_omap24xx() && !cpu_is_omap34xx()) { | ||
451 | pr_err("clockdomain: %s/%s: %s: not yet implemented\n", | ||
452 | clkdm1->name, clkdm2->name, __func__); | ||
453 | return -EINVAL; | ||
454 | } | ||
455 | |||
456 | if (!clkdm1 || !clkdm2) | 444 | if (!clkdm1 || !clkdm2) |
457 | return -EINVAL; | 445 | return -EINVAL; |
458 | 446 | ||
@@ -501,12 +489,6 @@ int clkdm_read_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) | |||
501 | if (!clkdm1 || !clkdm2) | 489 | if (!clkdm1 || !clkdm2) |
502 | return -EINVAL; | 490 | return -EINVAL; |
503 | 491 | ||
504 | if (!cpu_is_omap24xx() && !cpu_is_omap34xx()) { | ||
505 | pr_err("clockdomain: %s/%s: %s: not yet implemented\n", | ||
506 | clkdm1->name, clkdm2->name, __func__); | ||
507 | return -EINVAL; | ||
508 | } | ||
509 | |||
510 | cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); | 492 | cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); |
511 | if (IS_ERR(cd)) | 493 | if (IS_ERR(cd)) |
512 | ret = PTR_ERR(cd); | 494 | ret = PTR_ERR(cd); |
@@ -536,12 +518,6 @@ int clkdm_read_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) | |||
536 | */ | 518 | */ |
537 | int clkdm_clear_all_wkdeps(struct clockdomain *clkdm) | 519 | int clkdm_clear_all_wkdeps(struct clockdomain *clkdm) |
538 | { | 520 | { |
539 | if (!cpu_is_omap24xx() && !cpu_is_omap34xx()) { | ||
540 | pr_err("clockdomain: %s: %s: not yet implemented\n", | ||
541 | clkdm->name, __func__); | ||
542 | return -EINVAL; | ||
543 | } | ||
544 | |||
545 | if (!clkdm) | 521 | if (!clkdm) |
546 | return -EINVAL; | 522 | return -EINVAL; |
547 | 523 | ||