Re: [PATCH] USB : Gadget: fsl: add information message

From: Felipe Balbi
Date: Thu Mar 13 2014 - 11:27:52 EST


On Thu, Mar 13, 2014 at 06:41:50PM +0530, Suresh Gupta wrote:
> Message helps to understand that the Freescale Gadget driver
> is up without any error.

why this tab ?

>
> Signed-off-by: Suresh Gupta <suresh.gupta@xxxxxxxxxxxxx>
> ---
> drivers/usb/gadget/fsl_udc_core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c
> index 9a93727..455d0ab 100644
> --- a/drivers/usb/gadget/fsl_udc_core.c
> +++ b/drivers/usb/gadget/fsl_udc_core.c
> @@ -2503,6 +2503,7 @@ static int __init fsl_udc_probe(struct platform_device *pdev)
> goto err_del_udc;
>
> create_proc_file();
> + pr_info("%s (%s)\n", driver_desc, DRIVER_VERSION);

if there are no messages, then it's up. Also, you can very easily check
lsmod.

sorry, but I'm not taking this.

> return 0;
>
> err_del_udc:
> --
> 1.8.4.1
>
>

--
balbi

Attachment: signature.asc
Description: Digital signature