Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756074AbZF0L2e (ORCPT ); Sat, 27 Jun 2009 07:28:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753652AbZF0L2Z (ORCPT ); Sat, 27 Jun 2009 07:28:25 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:40877 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753830AbZF0L2Z (ORCPT ); Sat, 27 Jun 2009 07:28:25 -0400 Date: Wed, 24 Jun 2009 17:04:00 +0200 From: Pavel Machek To: "Rafael J. Wysocki" Cc: Alan Stern , Oliver Neukum , Magnus Damm , linux-pm@lists.linux-foundation.org, ACPI Devel Maling List , Ingo Molnar , LKML , Greg KH Subject: Re: [patch update] PM: Introduce core framework for run-time PM of I/O devices Message-ID: <20090624150400.GG1784@ucw.cz> References: <200906140023.36147.rjw@sisk.pl> <200906141158.50171.rjw@sisk.pl> <200906150057.32424.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906150057.32424.rjw@sisk.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1177 Lines: 29 Hi! > +2. Run-time PM Helper Functions and Device Fields > + > +The following helper functions are defined in drivers/base/power/runtime.c > +and include/linux/pm_runtime.h: > + > +* void pm_runtime_init(struct device *dev); > +* void pm_runtime_enable(struct device *dev); > +* void pm_runtime_disable(struct device *dev); > +* int pm_runtime_suspend(struct device *dev); > +* void pm_request_suspend(struct device *dev, unsigned long delay); > +* int pm_runtime_resume(struct device *dev); > +* void pm_request_resume(struct device *dev); > +* void pm_cancel_runtime_suspend(struct device *dev); > +* void pm_cancel_runtime_resume(struct device *dev); > +* void pm_suspend_check_children(struct device *dev, bool enable); Those *s look confusingly like pointers. Remove them? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/