From: "Rafael J. Wysocki" Subject: Re: [PATCH 01/13] PM: QoS: rename pm_qos_params files to pm_qos Date: Tue, 2 Aug 2011 11:47:36 +0200 Message-ID: <201108021147.36233.rjw@sisk.pl> References: <1311841821-10252-1-git-send-email-j-pihet@ti.com> <201107292357.48969.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ogre.sisk.pl ([217.79.144.158]:41025 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751388Ab1HBJqK (ORCPT ); Tue, 2 Aug 2011 05:46:10 -0400 In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Jean Pihet Cc: Paul Walmsley , Kevin Hilman , Magnus Damm , Linux PM mailing list , linux-omap@vger.kernel.org, markgross@thegnar.org, broonie@opensource.wolfsonmicro.com, Jean Pihet On Tuesday, August 02, 2011, Jean Pihet wrote: > Rafael, > > 2011/7/29 Rafael J. Wysocki : > > On Thursday, July 28, 2011, jean.pihet@newoldbits.com wrote: > >> From: Jean Pihet > >> > >> The PM QoS implementation files are better named > >> kernel/pm_qos.c and include/linux/pm_qos.h. > >> > ... > > >> create mode 100644 include/linux/pm_qos.h > >> delete mode 100644 include/linux/pm_qos_params.h > > > > That I agree with. > > > >> create mode 100644 kernel/pm_qos.c > >> delete mode 100644 kernel/pm_qos_params.c > > > > As I said, please move that file to kernel/power and call it qos.c. > Ok > > > > > That said the device interface should be located in drivers/base/power > > to follow our current conventions. > By device interface I understand the following: > - the user space API (per-device sysfs entry), > - the in-kernel device specific PM QoS API. If needed, cf. comments on > [04/13] about that. > > Is that correct? Yes, it is. I think that the definitions of the dev_pm_qos_*() funtions mentioned in there may go into drivers/base/power/qos.c and they can call functions from kernel/power/qos.c. Thanks, Rafael