From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [patch update] PM: Introduce core framework for run-time PM of I/O devices Date: Mon, 6 Jul 2009 10:28:27 +0200 Message-ID: <20090706082827.GA26142@atrey.karlin.mff.cuni.cz> References: <200906140023.36147.rjw@sisk.pl> <200906150057.32424.rjw@sisk.pl> <20090624150400.GG1784@ucw.cz> <200906272352.42022.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:58435 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752603AbZGFI2Y (ORCPT ); Mon, 6 Jul 2009 04:28:24 -0400 Content-Disposition: inline In-Reply-To: <200906272352.42022.rjw@sisk.pl> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org 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 > On Wednesday 24 June 2009, Pavel Machek wrote: > > 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? > > From the doc? OK, I can use another character. :-) Yes. I suggest # :-) > > Best, > Rafael -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html