lkml.org 
[lkml]   [2020]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 06/10] mfd: omap-usb-host: Provide description for 'pdev' argument to .probe()
    Date
    Kerneldoc syntax is used, but not complete.  Arg descriptions required.

    Prevents warnings like:

    drivers/mfd/omap-usb-host.c:531: warning: Function parameter or member 'pdev' not described in 'usbhs_omap_probe'

    Cc: <stable@vger.kernel.org>
    Cc: Tony Lindgren <tony@atomide.com>
    Cc: Keshava Munegowda <keshava_mgowda@ti.com>
    Cc: Roger Quadros <rogerq@ti.com>
    Cc: linux-omap@vger.kernel.org
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/mfd/omap-usb-host.c | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
    index f56cdf3149dc0..aca5a160c1b24 100644
    --- a/drivers/mfd/omap-usb-host.c
    +++ b/drivers/mfd/omap-usb-host.c
    @@ -526,6 +526,8 @@ static const struct of_device_id usbhs_child_match_table[] = {
    * usbhs_omap_probe - initialize TI-based HCDs
    *
    * Allocates basic resources for this USB host controller.
    + *
    + * @pdev: Pointer to this device's platform device structure
    */
    static int usbhs_omap_probe(struct platform_device *pdev)
    {
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-06-25 08:47    [W:4.248 / U:0.236 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site