All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PM / core: fix kerneldoc comment for device_pm_wait_for_dev
@ 2019-03-16  3:48 Yangtao Li
  2019-03-18 12:17 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Yangtao Li @ 2019-03-16  3:48 UTC (permalink / raw)
  To: rjw, pavel, len.brown, gregkh; +Cc: linux-pm, linux-kernel, Yangtao Li

Rearrange comment to make the comment style consistent, the previous
function parameters are described first.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 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 0cff68bd7b4b..eddb54057ed6 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -2069,8 +2069,8 @@ EXPORT_SYMBOL_GPL(__suspend_report_result);
 
 /**
  * device_pm_wait_for_dev - Wait for suspend/resume of a device to complete.
- * @dev: Device to wait for.
  * @subordinate: Device that needs to wait for @dev.
+ * @dev: Device to wait for.
  */
 int device_pm_wait_for_dev(struct device *subordinate, struct device *dev)
 {
-- 
2.17.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] PM / core: fix kerneldoc comment for device_pm_wait_for_dev
  2019-03-16  3:48 [PATCH] PM / core: fix kerneldoc comment for device_pm_wait_for_dev Yangtao Li
@ 2019-03-18 12:17 ` Pavel Machek
  2019-04-10  8:13   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2019-03-18 12:17 UTC (permalink / raw)
  To: Yangtao Li; +Cc: rjw, len.brown, gregkh, linux-pm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]

On Fri 2019-03-15 23:48:41, Yangtao Li wrote:
> Rearrange comment to make the comment style consistent, the previous
> function parameters are described first.
> 
> 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 0cff68bd7b4b..eddb54057ed6 100644
> --- a/drivers/base/power/main.c
> +++ b/drivers/base/power/main.c
> @@ -2069,8 +2069,8 @@ EXPORT_SYMBOL_GPL(__suspend_report_result);
>  
>  /**
>   * device_pm_wait_for_dev - Wait for suspend/resume of a device to complete.
> - * @dev: Device to wait for.
>   * @subordinate: Device that needs to wait for @dev.
> + * @dev: Device to wait for.
>   */
>  int device_pm_wait_for_dev(struct device *subordinate, struct device *dev)
>  {

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PM / core: fix kerneldoc comment for device_pm_wait_for_dev
  2019-03-18 12:17 ` Pavel Machek
@ 2019-04-10  8:13   ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2019-04-10  8:13 UTC (permalink / raw)
  To: Pavel Machek, Yangtao Li; +Cc: len.brown, gregkh, linux-pm, linux-kernel

On Monday, March 18, 2019 1:17:10 PM CEST Pavel Machek wrote:
> 
> --Qf1oXS95uex85X0R
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Fri 2019-03-15 23:48:41, Yangtao Li wrote:
> > Rearrange comment to make the comment style consistent, the previous
> > function parameters are described first.
> >=20
> > Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
> 
> Acked-by: Pavel Machek <pavel@ucw.cz>

Patch applied, thanks!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-10  8:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-16  3:48 [PATCH] PM / core: fix kerneldoc comment for device_pm_wait_for_dev Yangtao Li
2019-03-18 12:17 ` Pavel Machek
2019-04-10  8:13   ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.