diff mbox series

PM / wakeup: fix comment of pm_wakeup_dev_event()

Message ID 20190123162201.26366-1-tiny.windzz@gmail.com (mailing list archive)
State Mainlined
Delegated to: Rafael Wysocki
Headers show
Series PM / wakeup: fix comment of pm_wakeup_dev_event() | expand

Commit Message

Yangtao Li Jan. 23, 2019, 4:22 p.m. UTC
This brings the kernel doc in line with the function signature.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/base/power/wakeup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pavel Machek Jan. 24, 2019, 12:26 p.m. UTC | #1
On Wed 2019-01-23 11:22:01, Yangtao Li wrote:
> This brings the kernel doc in line with the function signature.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>

Acked-by: Pavel Machek <pavel@ucw.cz>

> @@ -783,7 +783,7 @@ void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard)
>  EXPORT_SYMBOL_GPL(pm_wakeup_ws_event);
>  
>  /**
> - * pm_wakeup_event - Notify the PM core of a wakeup event.
> + * pm_wakeup_dev_event - Notify the PM core of a wakeup event.
>   * @dev: Device the wakeup event is related to.
>   * @msec: Anticipated event processing time (in milliseconds).
>   * @hard: If set, abort suspends in progress and wake up from suspend-to-idle.
Rafael J. Wysocki Jan. 30, 2019, 11:51 p.m. UTC | #2
On Thursday, January 24, 2019 1:26:33 PM CET Pavel Machek wrote:
> 
> --tThc/1wpZn/ma/RB
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Wed 2019-01-23 11:22:01, Yangtao Li wrote:
> > This brings the kernel doc in line with the function signature.
> >=20
> > Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
> 
> Acked-by: Pavel Machek <pavel@ucw.cz>

Patch applied, thanks!
diff mbox series

Patch

diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
index 5fa1898755a3..f1fee72ed970 100644
--- a/drivers/base/power/wakeup.c
+++ b/drivers/base/power/wakeup.c
@@ -783,7 +783,7 @@  void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard)
 EXPORT_SYMBOL_GPL(pm_wakeup_ws_event);
 
 /**
- * pm_wakeup_event - Notify the PM core of a wakeup event.
+ * pm_wakeup_dev_event - Notify the PM core of a wakeup event.
  * @dev: Device the wakeup event is related to.
  * @msec: Anticipated event processing time (in milliseconds).
  * @hard: If set, abort suspends in progress and wake up from suspend-to-idle.