mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
usb: misc: adutux: Demote obvious misuse of kerneldoc to standard comment blocks
No attempt has been made to document any of the functions here. Fixes the following W=1 kernel build warning(s): drivers/usb/misc/adutux.c:117: warning: Function parameter or member 'dev' not described in 'adu_abort_transfers' drivers/usb/misc/adutux.c:653: warning: Function parameter or member 'interface' not described in 'adu_probe' drivers/usb/misc/adutux.c:653: warning: Function parameter or member 'id' not described in 'adu_probe' drivers/usb/misc/adutux.c:762: warning: Function parameter or member 'interface' not described in 'adu_disconnect' Cc: Johan Hovold <johan@kernel.org> Cc: David Glance <davidgsf@sourceforge.net> Cc: Juergen Stuber <stuber@loria.fr> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20200703174148.2749969-7-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b2e3fa1ab4
commit
874ae83880
1 changed files with 3 additions and 3 deletions
|
@ -109,7 +109,7 @@ static inline void adu_debug_data(struct device *dev, const char *function,
|
||||||
function, size, size, data);
|
function, size, size, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* adu_abort_transfers
|
* adu_abort_transfers
|
||||||
* aborts transfers and frees associated data structures
|
* aborts transfers and frees associated data structures
|
||||||
*/
|
*/
|
||||||
|
@ -642,7 +642,7 @@ static struct usb_class_driver adu_class = {
|
||||||
.minor_base = ADU_MINOR_BASE,
|
.minor_base = ADU_MINOR_BASE,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* adu_probe
|
* adu_probe
|
||||||
*
|
*
|
||||||
* Called by the usb core when a new device is connected that it thinks
|
* Called by the usb core when a new device is connected that it thinks
|
||||||
|
@ -753,7 +753,7 @@ static int adu_probe(struct usb_interface *interface,
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* adu_disconnect
|
* adu_disconnect
|
||||||
*
|
*
|
||||||
* Called by the usb core when the device is removed from the system.
|
* Called by the usb core when the device is removed from the system.
|
||||||
|
|
Loading…
Reference in a new issue