extcon: usb-gpio: fix a non-kernel-doc comment
PATCH 1/1 extcon: usb-gpio: fix a non-kernel-doc comment
Do not use "/**" to begin a non-kernel-doc comment. Fixes this build warning:
drivers/extcon/extcon-usb-gpio.c:23: warning: expecting prototype for drivers/extcon/extcon-usb-gpio.c(). Prototype was for USB_GPIO_DEBOUNCE_MS() instead
Signed-off-by Randy Dunlap <[email protected]>
Reported-by kernel test robot <[email protected]>
Cc MyungJoo Ham <[email protected]>
Cc Chanwoo Choi <[email protected]>
--- drivers/extcon/extcon-usb-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon-usb-gpio.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-only -/** +/* * drivers/extcon/extcon-usb-gpio.c - USB GPIO extcon driver * * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com
Chanwoo Choi
maintainerQuoted 18 lines · Randy Dunlap
Do not use "/**" to begin a non-kernel-doc comment. Fixes this build warning:
drivers/extcon/extcon-usb-gpio.c:23: warning: expecting prototype for drivers/extcon/extcon-usb-gpio.c(). Prototype was forUSB_GPIO_DEBOUNCE_MS()insteadSigned-off-by Randy Dunlap <[email protected]>Reported-by kernel test robot <[email protected]>Cc MyungJoo Ham <[email protected]>Cc Chanwoo Choi <[email protected]>--- drivers/extcon/extcon-usb-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon-usb-gpio.c line 5
Quoted 6 lines
drivers/extcon/extcon-usb-gpio.c +1
-1@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-only -/** +/* * drivers/extcon/extcon-usb-gpio.c - USB GPIO extcon driver * * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com
Applied it.
Signature · 3 lines
Best Regards, Chanwoo Choi Samsung Electronics