diff mbox series

PM / core: fix kerneldoc comment for dpm_watchdog_handler()

Message ID 20190316033751.31323-1-tiny.windzz@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show
Series PM / core: fix kerneldoc comment for dpm_watchdog_handler() | expand

Commit Message

Yangtao Li March 16, 2019, 3:37 a.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/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pavel Machek March 18, 2019, 12:16 p.m. UTC | #1
On Fri 2019-03-15 23:37:51, 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>

> ---
>  drivers/base/power/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
> index f80d298de3fa..0cff68bd7b4b 100644
> --- a/drivers/base/power/main.c
> +++ b/drivers/base/power/main.c
> @@ -478,7 +478,7 @@ struct dpm_watchdog {
>  
>  /**
>   * dpm_watchdog_handler - Driver suspend / resume watchdog handler.
> - * @data: Watchdog object address.
> + * @t: The timer that pm watchdog depends on.
>   *
>   * Called when a driver has timed out suspending or resuming.
>   * There's not much we can do here to recover so panic() to
Rafael J. Wysocki April 10, 2019, 8:14 a.m. UTC | #2
On Monday, March 18, 2019 1:16:54 PM CEST Pavel Machek wrote:
> 
> --w3uUfsyyY1Pqa/ej
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Fri 2019-03-15 23:37:51, 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/main.c b/drivers/base/power/main.c
index f80d298de3fa..0cff68bd7b4b 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -478,7 +478,7 @@  struct dpm_watchdog {
 
 /**
  * dpm_watchdog_handler - Driver suspend / resume watchdog handler.
- * @data: Watchdog object address.
+ * @t: The timer that pm watchdog depends on.
  *
  * Called when a driver has timed out suspending or resuming.
  * There's not much we can do here to recover so panic() to