Re: [PATCH][next] usb: cdnsp: Fix spelling mistake "delagete" -> "delegate"

From: Dan Carpenter
Date: Wed Feb 03 2021 - 08:08:03 EST


On Wed, Feb 03, 2021 at 11:12:39AM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> There is a spelling mistake in a literal string. Fix it.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/usb/cdns3/cdnsp-ep0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/cdns3/cdnsp-ep0.c b/drivers/usb/cdns3/cdnsp-ep0.c
> index e2b1bcb3f80e..e30931ebc870 100644
> --- a/drivers/usb/cdns3/cdnsp-ep0.c
> +++ b/drivers/usb/cdns3/cdnsp-ep0.c
> @@ -45,7 +45,7 @@ static int cdnsp_ep0_delegate_req(struct cdnsp_device *pdev,
> {
> int ret;
>
> - trace_cdnsp_ep0_request("delagete");
> + trace_cdnsp_ep0_request("delegate");
>

This printk is useless and should just be deleted. Use ftrace instead.

regards,
dan carpenter