diff mbox series

usb: typec: fix non-kernel-doc comments

Message ID 88821011-2128-a8dd-68b8-c5ae8f43271f@infradead.org (mailing list archive)
State Mainlined
Commit 2d686c738a2e6a90a87aefc392224a26befd1e55
Headers show
Series usb: typec: fix non-kernel-doc comments | expand

Commit Message

Randy Dunlap Jan. 8, 2020, 6:24 a.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Use "/*" for non-kernel-doc comments instead of "/**", which is
intended to be used only for kernel-doc notation.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/usb/typec/bus.c |    2 +-
 drivers/usb/typec/mux.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Heikki Krogerus Jan. 8, 2020, 11:10 a.m. UTC | #1
On Tue, Jan 07, 2020 at 10:24:50PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Use "/*" for non-kernel-doc comments instead of "/**", which is
> intended to be used only for kernel-doc notation.
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

OK by me.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>

> ---
>  drivers/usb/typec/bus.c |    2 +-
>  drivers/usb/typec/mux.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> --- lnx-55-rc5.orig/drivers/usb/typec/bus.c
> +++ lnx-55-rc5/drivers/usb/typec/bus.c
> @@ -1,5 +1,5 @@
>  // SPDX-License-Identifier: GPL-2.0
> -/**
> +/*
>   * Bus for USB Type-C Alternate Modes
>   *
>   * Copyright (C) 2018 Intel Corporation
> --- lnx-55-rc5.orig/drivers/usb/typec/mux.c
> +++ lnx-55-rc5/drivers/usb/typec/mux.c
> @@ -1,5 +1,5 @@
>  // SPDX-License-Identifier: GPL-2.0
> -/**
> +/*
>   * USB Type-C Multiplexer/DeMultiplexer Switch support
>   *
>   * Copyright (C) 2018 Intel Corporation

thanks,
diff mbox series

Patch

--- lnx-55-rc5.orig/drivers/usb/typec/bus.c
+++ lnx-55-rc5/drivers/usb/typec/bus.c
@@ -1,5 +1,5 @@ 
 // SPDX-License-Identifier: GPL-2.0
-/**
+/*
  * Bus for USB Type-C Alternate Modes
  *
  * Copyright (C) 2018 Intel Corporation
--- lnx-55-rc5.orig/drivers/usb/typec/mux.c
+++ lnx-55-rc5/drivers/usb/typec/mux.c
@@ -1,5 +1,5 @@ 
 // SPDX-License-Identifier: GPL-2.0
-/**
+/*
  * USB Type-C Multiplexer/DeMultiplexer Switch support
  *
  * Copyright (C) 2018 Intel Corporation