Skip to contentSkip to conversation

OMAP4: clockdomain: Remove pr_errs' stating unsupported wkdep

PATCH New Rajendra Nayak 2 participants 2 messages Feb 14, 2011

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Patch applies on the integration-2.6.39 of
git://git.pwsan.com/linux-integration which
has the dependency support for omap4 queued
up.

 arch/arm/mach-omap2/clockdomain.c |   24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)
arch/arm/mach-omap2/clockdomain.c +0 -24
index 70d2420..a0341de 100644
@@ -400,12 +400,6 @@ int clkdm_add_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2)
 	struct clkdm_dep *cd;
 	int ret = 0;
 
-	if (!cpu_is_omap24xx() && !cpu_is_omap34xx()) {
-		pr_err("clockdomain: %s/%s: %s: not yet implemented\n",
-		       clkdm1->name, clkdm2->name, __func__);
-		return -EINVAL;
-	}
-
 	if (!clkdm1 || !clkdm2)
 		return -EINVAL;
 
@@ -447,12 +441,6 @@ int clkdm_del_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2)
 	struct clkdm_dep *cd;
 	int ret = 0;
 
-	if (!cpu_is_omap24xx() && !cpu_is_omap34xx()) {
-		pr_err("clockdomain: %s/%s: %s: not yet implemented\n",
-		       clkdm1->name, clkdm2->name, __func__);
-		return -EINVAL;
-	}
-
 	if (!clkdm1 || !clkdm2)
 		return -EINVAL;
 
@@ -501,12 +489,6 @@ int clkdm_read_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2)
 	if (!clkdm1 || !clkdm2)
 		return -EINVAL;
 
-	if (!cpu_is_omap24xx() && !cpu_is_omap34xx()) {
-		pr_err("clockdomain: %s/%s: %s: not yet implemented\n",
-		       clkdm1->name, clkdm2->name, __func__);
-		return -EINVAL;
-	}
-
 	cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs);
 	if (IS_ERR(cd))
 		ret = PTR_ERR(cd);
@@ -536,12 +518,6 @@ int clkdm_read_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2)
  */
 int clkdm_clear_all_wkdeps(struct clockdomain *clkdm)
 {
-	if (!cpu_is_omap24xx() && !cpu_is_omap34xx()) {
-		pr_err("clockdomain: %s: %s: not yet implemented\n",
-		       clkdm->name, __func__);
-		return -EINVAL;
-	}
-
 	if (!clkdm)
 		return -EINVAL;
 
Signature · 1 line
1.7.0.4
maintainer
#1 lore raw

PATCH 1/1 OMAP4: clockdomain: Remove pr_errs' stating unsupported wkdep

Quoted 6 lines · Rajendra Nayak

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.

Thanks, queued for 2.6.39 in the 'clkdm_statdep_omap4_2.6.39' branch of
git://git.pwsan.com/linux-2.6.

This patch is part of the 'integration-2.6.39' branch of
git://git.pwsan.com/linux-integration as of tag 'integration-2.6.39-20110214-003'.

- Paul