From patchwork Wed May 26 13:00:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12281569 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31CC3C47089 for ; Wed, 26 May 2021 13:00:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1006B613D4 for ; Wed, 26 May 2021 13:00:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234217AbhEZNCV (ORCPT ); Wed, 26 May 2021 09:02:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233945AbhEZNCU (ORCPT ); Wed, 26 May 2021 09:02:20 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D730C061574 for ; Wed, 26 May 2021 06:00:48 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id r12so1063782wrp.1 for ; Wed, 26 May 2021 06:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MphP17EX0/AXLtalAEYhX110xpkS7WBUGIWjY7Ufvo4=; b=kl7yRD7q2idFGBdau1DMeBezfOEIHpuwjbQEY8GKGot9XFdDoFo+U40D/+mMYsZeJS +W/V2dBsLSAdkJeZCzHwx2z3PaXdCVB+0osyMldD94IJVG8oxn6vUGdPYH05FuakaGHy Du3HGAkhISQmmrVREW45mhlvHLy09ADQOsTfWwsbiKyq33jNsNQmmhOE+XCEc1jSMGSz lgpvHyc1yc1k02Fp2zLGCcq0gL4Sr+xn0sxjVt7BhApp/LGjph/S8LfAwl4ulpGoVxMP wwCQt6YyIh4YYtIakigw91e9a9rtbdxQD548mLXJwl1LYoy5wrHJD20q1Xl2a07tLHIi CnbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MphP17EX0/AXLtalAEYhX110xpkS7WBUGIWjY7Ufvo4=; b=ItHxJJlNENAJP7zt+4qNKW1BZ5V04on/W9BmM8/wWjizQsD60uMLV/KkAFicfj7J0S e6g073b0A2fQzOqQ/YchdrgWpYe82r+IdudaxHbQEBqHWx6xh9Iw0RN1siOt/vD+9QOz E/K1rQ09WUJnn061ZEo+72iZ7NSM8YFRTFKJB0g6toRwH50HhB50Rwb3lCSQry+KzoqB 0MM6JDUumUuhNLRc1vzivoyDOsJ1yLLR5RRNZBQvBcDXPDtD3QBOOaOSD2zMmdskL/Ck +u+1AsFQGAUPJo2Wsg/4w+qvCmE9shzLpSP6L5xNKvmONCFIime0+iSuwLF7Hw9jcQzw 6R+w== X-Gm-Message-State: AOAM530OOiRRsMO0+c1amRIErWR4+qH0L7sFp6NgJH8Xt6e0M8/Kq9KH PQRkV6IYb/0z07vihhjrUOhZDawGjESHFg== X-Google-Smtp-Source: ABdhPJzWHzzkAvsiM2AEM+7p7YrLBxGJx848Nmp7flT0Iqd/5b2/jLrudbpEW8UnYEKpyQxhv+uOyQ== X-Received: by 2002:a5d:4b89:: with SMTP id b9mr32545288wrt.238.1622034047197; Wed, 26 May 2021 06:00:47 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.00.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:00:46 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 01/24] usb: cdns3: core: Fix a couple of incorrectly documented function names Date: Wed, 26 May 2021 14:00:14 +0100 Message-Id: <20210526130037.856068-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/core.c:342: warning: expecting prototype for cdsn3_role_get(). Prototype was for cdns_role_get() instead drivers/usb/cdns3/core.c:428: warning: expecting prototype for cdns_probe(). Prototype was for cdns_init() instead Cc: Peter Chen Cc: Pawel Laszczak Cc: Roger Quadros Cc: Aswath Govindraju Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/cdns3/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c index bb739d88179ff..dbcdf3b24b477 100644 --- a/drivers/usb/cdns3/core.c +++ b/drivers/usb/cdns3/core.c @@ -332,7 +332,7 @@ int cdns_hw_role_switch(struct cdns *cdns) } /** - * cdsn3_role_get - get current role of controller. + * cdns_role_get - get current role of controller. * * @sw: pointer to USB role switch structure * @@ -419,7 +419,7 @@ static irqreturn_t cdns_wakeup_irq(int irq, void *data) } /** - * cdns_probe - probe for cdns3/cdnsp core device + * cdns_init - probe for cdns3/cdnsp core device * @cdns: Pointer to cdns structure. * * Returns 0 on success otherwise negative errno