]> git.itanic.dy.fi Git - linux-stable/commitdiff
extcon: qcom-spmi-misc: don't use kernel-doc marker for comment
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 5 Dec 2023 23:12:04 +0000 (15:12 -0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 12 Dec 2023 00:33:47 +0000 (09:33 +0900)
Do not use "/**" for non-kernel-doc comments. This prevents a warning
from scripts/kernel-doc:

warning: expecting prototype for extcon(). Prototype was for USB_ID_DEBOUNCE_MS() instead

Link: https://lore.kernel.org/lkml/20231205231204.1130-1-rdunlap@infradead.org/
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-qcom-spmi-misc.c

index f72e90ceca53d5909a5c01e0ade3f5005d2d2323..53de581a393a35bb48f637ea73e910b4c8340ace 100644 (file)
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * extcon-qcom-spmi-misc.c - Qualcomm USB extcon driver to support USB ID
  *                     and VBUS detection based on extcon-usb-gpio.c.
  *