Skip to content

Commit 59e2c95

Browse files
committed
Merge branches 'pm-docs' and 'pm-tools'
* 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"
3 parents b20f7db + 33b688e + b7e23e5 commit 59e2c95

4 files changed

Lines changed: 12 additions & 11 deletions

File tree

drivers/base/power/clock_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ static void pm_clk_op_unlock(struct pm_subsys_data *psd, unsigned long *flags)
140140
}
141141

142142
/**
143-
* pm_clk_enable - Enable a clock, reporting any errors
143+
* __pm_clk_enable - Enable a clock, reporting any errors
144144
* @dev: The device for the given clock
145145
* @ce: PM clock entry corresponding to the clock.
146146
*/

drivers/base/power/runtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ static void pm_runtime_work(struct work_struct *work)
951951

952952
/**
953953
* pm_suspend_timer_fn - Timer function for pm_schedule_suspend().
954-
* @data: Device pointer passed by pm_schedule_suspend().
954+
* @timer: hrtimer used by pm_schedule_suspend().
955955
*
956956
* Check if the time is right and queue a suspend request.
957957
*/

drivers/base/power/wakeup.c

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,9 @@ void device_wakeup_detach_irq(struct device *dev)
400400
}
401401

402402
/**
403-
* device_wakeup_arm_wake_irqs(void)
403+
* device_wakeup_arm_wake_irqs -
404404
*
405-
* Itereates over the list of device wakeirqs to arm them.
405+
* Iterates over the list of device wakeirqs to arm them.
406406
*/
407407
void device_wakeup_arm_wake_irqs(void)
408408
{
@@ -416,9 +416,9 @@ void device_wakeup_arm_wake_irqs(void)
416416
}
417417

418418
/**
419-
* device_wakeup_disarm_wake_irqs(void)
419+
* device_wakeup_disarm_wake_irqs -
420420
*
421-
* Itereates over the list of device wakeirqs to disarm them.
421+
* Iterates over the list of device wakeirqs to disarm them.
422422
*/
423423
void device_wakeup_disarm_wake_irqs(void)
424424
{
@@ -532,6 +532,7 @@ EXPORT_SYMBOL_GPL(device_init_wakeup);
532532
/**
533533
* device_set_wakeup_enable - Enable or disable a device to wake up the system.
534534
* @dev: Device to handle.
535+
* @enable: enable/disable flag
535536
*/
536537
int device_set_wakeup_enable(struct device *dev, bool enable)
537538
{
@@ -581,7 +582,7 @@ static bool wakeup_source_not_registered(struct wakeup_source *ws)
581582
*/
582583

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

688689
/**
689-
* wakup_source_deactivate - Mark given wakeup source as inactive.
690+
* wakeup_source_deactivate - Mark given wakeup source as inactive.
690691
* @ws: Wakeup source to handle.
691692
*
692693
* Update the @ws' statistics and notify the PM core that the wakeup source has
@@ -785,7 +786,7 @@ EXPORT_SYMBOL_GPL(pm_relax);
785786

786787
/**
787788
* pm_wakeup_timer_fn - Delayed finalization of a wakeup event.
788-
* @data: Address of the wakeup source object associated with the event source.
789+
* @t: timer list
789790
*
790791
* Call wakeup_source_deactivate() for the wakeup source whose address is stored
791792
* in @data if it is currently active and its timer has not been canceled and
@@ -1021,7 +1022,7 @@ bool pm_save_wakeup_count(unsigned int count)
10211022
#ifdef CONFIG_PM_AUTOSLEEP
10221023
/**
10231024
* pm_wakep_autosleep_enabled - Modify autosleep_enabled for all wakeup sources.
1024-
* @enabled: Whether to set or to clear the autosleep_enabled flags.
1025+
* @set: Whether to set or to clear the autosleep_enabled flags.
10251026
*/
10261027
void pm_wakep_autosleep_enabled(bool set)
10271028
{

tools/power/pm-graph/sleepgraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6819,7 +6819,7 @@ def printHelp():
68196819
sysvals.outdir = val
68206820
sysvals.notestrun = True
68216821
if(os.path.isdir(val) == False):
6822-
doError('%s is not accesible' % val)
6822+
doError('%s is not accessible' % val)
68236823
elif(arg == '-filter'):
68246824
try:
68256825
val = next(args)

0 commit comments

Comments
 (0)