usb: musb: musb_dsps: 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/musb/musb_dsps.c:44: warning: cannot understand function prototype: 'struct dsps_musb_wrapper ' drivers/usb/musb/musb_dsps.c:102: warning: cannot understand function prototype: 'struct dsps_glue ' drivers/usb/musb/musb_dsps.c:169: warning: Function parameter or member 'musb' not described in 'dsps_musb_enable' drivers/usb/musb/musb_dsps.c:195: warning: Function parameter or member 'musb' not described in 'dsps_musb_disable' Cc: Bin Liu <b-liu@ti.com> Cc: Ravi B <ravibabu@ti.com> Cc: Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20200703174148.2749969-29-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7e8455b158
commit
09e03a89da
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
static const struct of_device_id musb_dsps_of_match[];
|
static const struct of_device_id musb_dsps_of_match[];
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* DSPS musb wrapper register offset.
|
* DSPS musb wrapper register offset.
|
||||||
* FIXME: This should be expanded to have all the wrapper registers from TI DSPS
|
* FIXME: This should be expanded to have all the wrapper registers from TI DSPS
|
||||||
* musb ips.
|
* musb ips.
|
||||||
@ -96,7 +96,7 @@ struct dsps_context {
|
|||||||
u32 rx_mode;
|
u32 rx_mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* DSPS glue structure.
|
* DSPS glue structure.
|
||||||
*/
|
*/
|
||||||
struct dsps_glue {
|
struct dsps_glue {
|
||||||
@ -162,7 +162,7 @@ static void dsps_mod_timer_optional(struct dsps_glue *glue)
|
|||||||
|
|
||||||
#define USBSS_IRQ_PD_COMP (1 << 2)
|
#define USBSS_IRQ_PD_COMP (1 << 2)
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* dsps_musb_enable - enable interrupts
|
* dsps_musb_enable - enable interrupts
|
||||||
*/
|
*/
|
||||||
static void dsps_musb_enable(struct musb *musb)
|
static void dsps_musb_enable(struct musb *musb)
|
||||||
@ -188,7 +188,7 @@ static void dsps_musb_enable(struct musb *musb)
|
|||||||
dsps_mod_timer(glue, -1);
|
dsps_mod_timer(glue, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* dsps_musb_disable - disable HDRC and flush interrupts
|
* dsps_musb_disable - disable HDRC and flush interrupts
|
||||||
*/
|
*/
|
||||||
static void dsps_musb_disable(struct musb *musb)
|
static void dsps_musb_disable(struct musb *musb)
|
||||||
|
Loading…
Reference in New Issue
Block a user