From patchwork Tue Oct 27 20:25:30 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Walmsley X-Patchwork-Id: 56173 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9RKRPEX011399 for ; Tue, 27 Oct 2009 20:27:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932151AbZJ0U0e (ORCPT ); Tue, 27 Oct 2009 16:26:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932157AbZJ0UZ1 (ORCPT ); Tue, 27 Oct 2009 16:25:27 -0400 Received: from utopia.booyaka.com ([72.9.107.138]:43532 "EHLO utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932150AbZJ0UZ0 (ORCPT ); Tue, 27 Oct 2009 16:25:26 -0400 Received: (qmail 28068 invoked by uid 526); 27 Oct 2009 20:25:30 -0000 Date: Tue, 27 Oct 2009 14:25:30 -0600 (MDT) From: Paul Walmsley To: linux-omap@vger.kernel.org cc: rnayak@ti.com, khilman@deeprootsystems.com Subject: [PATCH] OMAP PM: SRF: Drop unnecessary powerdomain activity hooks Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/omap-pm-srf.c b/arch/arm/plat-omap/omap-pm-srf.c index d769b90..ef1d235 100644 --- a/arch/arm/plat-omap/omap-pm-srf.c +++ b/arch/arm/plat-omap/omap-pm-srf.c @@ -297,43 +297,7 @@ int omap_pm_get_dev_context_loss_count(struct device *dev) } /* - * Powerdomain usecounting hooks - */ - -void omap_pm_pwrdm_active(struct powerdomain *pwrdm) -{ - if (!pwrdm) { - WARN_ON(1); - return; - }; - - pr_debug("OMAP PM: powerdomain %s is becoming active\n", pwrdm->name); - - /* - * CDP code apparently will need these for the enable_power_domain() - * and disable_power_domain() functions. - */ -} - -void omap_pm_pwrdm_inactive(struct powerdomain *pwrdm) -{ - if (!pwrdm) { - WARN_ON(1); - return; - }; - - pr_debug("OMAP PM: powerdomain %s is becoming inactive\n", - pwrdm->name); - - /* - * CDP code apparently will need these for the enable_power_domain() - * and disable_power_domain() functions. - */ -} - -/* - * Should be called before clk framework since clk fw will call - * omap_pm_pwrdm_{in,}active() + * Must be called before clk framework init */ int __init omap_pm_if_early_init(struct omap_opp *mpu_opp_table, struct omap_opp *dsp_opp_table,