Commit 5722a8ef authored by Lee Jones's avatar Lee Jones Committed by Greg Kroah-Hartman

usb: chipidea: debug: Demote obvious misuse of kerneldoc to standard comment blocks

No attempt has been made to document any of the demoted functions here.

Fixes the following W=1 kernel build warning(s):

 drivers/usb/chipidea/debug.c:25: warning: Function parameter or member 's' not described in 'ci_device_show'
 drivers/usb/chipidea/debug.c:25: warning: Function parameter or member 'data' not described in 'ci_device_show'
 drivers/usb/chipidea/debug.c:54: warning: Function parameter or member 's' not described in 'ci_port_test_show'
 drivers/usb/chipidea/debug.c:54: warning: Function parameter or member 'data' not described in 'ci_port_test_show'
 drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'file' not described in 'ci_port_test_write'
 drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'ubuf' not described in 'ci_port_test_write'
 drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'count' not described in 'ci_port_test_write'
 drivers/usb/chipidea/debug.c:75: warning: Function parameter or member 'ppos' not described in 'ci_port_test_write'
 drivers/usb/chipidea/debug.c:122: warning: Function parameter or member 's' not described in 'ci_qheads_show'
 drivers/usb/chipidea/debug.c:122: warning: Function parameter or member 'data' not described in 'ci_qheads_show'
 drivers/usb/chipidea/debug.c:154: warning: Function parameter or member 's' not described in 'ci_requests_show'
 drivers/usb/chipidea/debug.c:154: warning: Function parameter or member 'data' not described in 'ci_requests_show'

Cc: Peter Chen <Peter.Chen@nxp.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200703174148.2749969-11-lee.jones@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6a005f0f
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include "bits.h" #include "bits.h"
#include "otg.h" #include "otg.h"
/** /*
* ci_device_show: prints information about device capabilities and status * ci_device_show: prints information about device capabilities and status
*/ */
static int ci_device_show(struct seq_file *s, void *data) static int ci_device_show(struct seq_file *s, void *data)
...@@ -47,7 +47,7 @@ static int ci_device_show(struct seq_file *s, void *data) ...@@ -47,7 +47,7 @@ static int ci_device_show(struct seq_file *s, void *data)
} }
DEFINE_SHOW_ATTRIBUTE(ci_device); DEFINE_SHOW_ATTRIBUTE(ci_device);
/** /*
* ci_port_test_show: reads port test mode * ci_port_test_show: reads port test mode
*/ */
static int ci_port_test_show(struct seq_file *s, void *data) static int ci_port_test_show(struct seq_file *s, void *data)
...@@ -67,7 +67,7 @@ static int ci_port_test_show(struct seq_file *s, void *data) ...@@ -67,7 +67,7 @@ static int ci_port_test_show(struct seq_file *s, void *data)
return 0; return 0;
} }
/** /*
* ci_port_test_write: writes port test mode * ci_port_test_write: writes port test mode
*/ */
static ssize_t ci_port_test_write(struct file *file, const char __user *ubuf, static ssize_t ci_port_test_write(struct file *file, const char __user *ubuf,
...@@ -115,7 +115,7 @@ static const struct file_operations ci_port_test_fops = { ...@@ -115,7 +115,7 @@ static const struct file_operations ci_port_test_fops = {
.release = single_release, .release = single_release,
}; };
/** /*
* ci_qheads_show: DMA contents of all queue heads * ci_qheads_show: DMA contents of all queue heads
*/ */
static int ci_qheads_show(struct seq_file *s, void *data) static int ci_qheads_show(struct seq_file *s, void *data)
...@@ -147,7 +147,7 @@ static int ci_qheads_show(struct seq_file *s, void *data) ...@@ -147,7 +147,7 @@ static int ci_qheads_show(struct seq_file *s, void *data)
} }
DEFINE_SHOW_ATTRIBUTE(ci_qheads); DEFINE_SHOW_ATTRIBUTE(ci_qheads);
/** /*
* ci_requests_show: DMA contents of all requests currently queued (all endpts) * ci_requests_show: DMA contents of all requests currently queued (all endpts)
*/ */
static int ci_requests_show(struct seq_file *s, void *data) static int ci_requests_show(struct seq_file *s, void *data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment