@@ -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 */
407407void 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 */
423423void 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 */
536537int 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 */
10261027void pm_wakep_autosleep_enabled (bool set )
10271028{
0 commit comments