Skip to content

Commit

Permalink
Merge branches 'pm-docs' and 'pm-tools'
Browse files Browse the repository at this point in the history
* pm-docs:
  PM: clk: remove kernel-doc warning
  PM: wakeup: fix kernel-doc warnings and fix typos
  PM: runtime: remove kernel-doc warnings

* pm-tools:
  pm-graph: Fix typo "accesible"
  • Loading branch information
Rafael J. Wysocki committed Apr 26, 2021
3 parents b20f7db + 33b688e + b7e23e5 commit 59e2c95
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion drivers/base/power/clock_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static void pm_clk_op_unlock(struct pm_subsys_data *psd, unsigned long *flags)
}

/**
* pm_clk_enable - Enable a clock, reporting any errors
* __pm_clk_enable - Enable a clock, reporting any errors
* @dev: The device for the given clock
* @ce: PM clock entry corresponding to the clock.
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/base/power/runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ static void pm_runtime_work(struct work_struct *work)

/**
* pm_suspend_timer_fn - Timer function for pm_schedule_suspend().
* @data: Device pointer passed by pm_schedule_suspend().
* @timer: hrtimer used by pm_schedule_suspend().
*
* Check if the time is right and queue a suspend request.
*/
Expand Down
17 changes: 9 additions & 8 deletions drivers/base/power/wakeup.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ void device_wakeup_detach_irq(struct device *dev)
}

/**
* device_wakeup_arm_wake_irqs(void)
* device_wakeup_arm_wake_irqs -
*
* Itereates over the list of device wakeirqs to arm them.
* Iterates over the list of device wakeirqs to arm them.
*/
void device_wakeup_arm_wake_irqs(void)
{
Expand All @@ -416,9 +416,9 @@ void device_wakeup_arm_wake_irqs(void)
}

/**
* device_wakeup_disarm_wake_irqs(void)
* device_wakeup_disarm_wake_irqs -
*
* Itereates over the list of device wakeirqs to disarm them.
* Iterates over the list of device wakeirqs to disarm them.
*/
void device_wakeup_disarm_wake_irqs(void)
{
Expand Down Expand Up @@ -532,6 +532,7 @@ EXPORT_SYMBOL_GPL(device_init_wakeup);
/**
* device_set_wakeup_enable - Enable or disable a device to wake up the system.
* @dev: Device to handle.
* @enable: enable/disable flag
*/
int device_set_wakeup_enable(struct device *dev, bool enable)
{
Expand Down Expand Up @@ -581,7 +582,7 @@ static bool wakeup_source_not_registered(struct wakeup_source *ws)
*/

/**
* wakup_source_activate - Mark given wakeup source as active.
* wakeup_source_activate - Mark given wakeup source as active.
* @ws: Wakeup source to handle.
*
* Update the @ws' statistics and, if @ws has just been activated, notify the PM
Expand Down Expand Up @@ -686,7 +687,7 @@ static inline void update_prevent_sleep_time(struct wakeup_source *ws,
#endif

/**
* wakup_source_deactivate - Mark given wakeup source as inactive.
* wakeup_source_deactivate - Mark given wakeup source as inactive.
* @ws: Wakeup source to handle.
*
* Update the @ws' statistics and notify the PM core that the wakeup source has
Expand Down Expand Up @@ -785,7 +786,7 @@ EXPORT_SYMBOL_GPL(pm_relax);

/**
* pm_wakeup_timer_fn - Delayed finalization of a wakeup event.
* @data: Address of the wakeup source object associated with the event source.
* @t: timer list
*
* Call wakeup_source_deactivate() for the wakeup source whose address is stored
* in @data if it is currently active and its timer has not been canceled and
Expand Down Expand Up @@ -1021,7 +1022,7 @@ bool pm_save_wakeup_count(unsigned int count)
#ifdef CONFIG_PM_AUTOSLEEP
/**
* pm_wakep_autosleep_enabled - Modify autosleep_enabled for all wakeup sources.
* @enabled: Whether to set or to clear the autosleep_enabled flags.
* @set: Whether to set or to clear the autosleep_enabled flags.
*/
void pm_wakep_autosleep_enabled(bool set)
{
Expand Down
2 changes: 1 addition & 1 deletion tools/power/pm-graph/sleepgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -6819,7 +6819,7 @@ def printHelp():
sysvals.outdir = val
sysvals.notestrun = True
if(os.path.isdir(val) == False):
doError('%s is not accesible' % val)
doError('%s is not accessible' % val)
elif(arg == '-filter'):
try:
val = next(args)
Expand Down

0 comments on commit 59e2c95

Please sign in to comment.