Skip to content

Commit

Permalink
PM QoS: Fix inline documentation.
Browse files Browse the repository at this point in the history
Fix the pm_qos_add_request() kerneldoc comment that doesn't reflect
the behavior of the function after the last PM QoS update.

Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
Acked-by: mark gross <markgross@thegnar.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
  • Loading branch information
Saravana Kannan authored and Rafael J. Wysocki committed Aug 26, 2010
1 parent bac1e74 commit 25cc69e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions kernel/pm_qos_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,17 @@ EXPORT_SYMBOL_GPL(pm_qos_request_active);

/**
* pm_qos_add_request - inserts new qos request into the list
* @pm_qos_class: identifies which list of qos request to us
* @dep: pointer to a preallocated handle
* @pm_qos_class: identifies which list of qos request to use
* @value: defines the qos request
*
* This function inserts a new entry in the pm_qos_class list of requested qos
* performance characteristics. It recomputes the aggregate QoS expectations
* for the pm_qos_class of parameters, and returns the pm_qos_request list
* element as a handle for use in updating and removal. Call needs to save
* this handle for later use.
* for the pm_qos_class of parameters and initializes the pm_qos_request_list
* handle. Caller needs to save this handle for later use in updates and
* removal.
*/

void pm_qos_add_request(struct pm_qos_request_list *dep,
int pm_qos_class, s32 value)
{
Expand Down

0 comments on commit 25cc69e

Please sign in to comment.