From patchwork Mon Jul 6 13:33:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 234864 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp4780621ilg; Mon, 6 Jul 2020 06:35:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwngnmNs6KbntCR1hstV+0r6ODRBW1OQJdyG4FtVRO1/l71+3958rXJK1rkreiF1i5420dS X-Received: by 2002:a17:906:4f82:: with SMTP id o2mr35583304eju.424.1594042523867; Mon, 06 Jul 2020 06:35:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594042523; cv=none; d=google.com; s=arc-20160816; b=qiR+TGxEmvY5WIwdzV1k24f4+r6TsxasOKImrs4vRhH7mE+GQg7EWV+vXrGb0uB4Ez kcMwFqRlZnOE5l6KtUFMQtVI9+oOgzHFSe3xhQLgnkS2KL+PwMV56DyTDm87hjd+otha Gh3budmy/DyxOs3EJ+g/btkoDC7nb0Pn1UECD/bdevPLQbhsw6mJK4s2fuoeOsUf8cuw dqiQ+hzw5Q/btEcV1hCnVQaVUbyLkCt5iIt6MiKRA18al3U5UeF1DsskcfCs1rqIrOZn S8DmU2xp0XycmPEMRNRTBgZ3QiZUAbiTuSCEMSw0WtHCrYQ3fiqAB9hXJ3shRB66zVIj UX8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oDXPXE1ejSNiTZPmJzCEijdYryKHjxn03JTJMf6IP7Q=; b=YeU4yQQ9/lXK8yPjxG2+kYXMkGjBnReaTmHGVjlj5koEEgFlxzxKVk8IxwrIoSgXKW wOIx2P0YU72hybwtWb1DMxihijHqdeoNzEy4VgMLsPONArLiH8gRDyUljUoQ44TUG/S5 GBPRHxGpBYDoW6sTCX0zvLS6hAhi5ROvlJWvWDvBE79BYPN5CpAFgEHfXHH41QJ7goM+ z1gEjQ/3HQMfbxhhwSMRpeTPXbSWpDxYDESWaZDv8/idgtWEROS0uBhnJmna5JdxKb2o TYLjEmfOILvhMtK7Paq/rGZp9ACBprMBaNprKKkXojsFP+IDtnu0IlM1X43mYAY0u6O+ 7Owg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nrBdfUXO; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh4si13058137ejb.339.2020.07.06.06.35.23; Mon, 06 Jul 2020 06:35:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nrBdfUXO; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729489AbgGFNfT (ORCPT + 5 others); Mon, 6 Jul 2020 09:35:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729343AbgGFNeL (ORCPT ); Mon, 6 Jul 2020 09:34:11 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 084EBC061794 for ; Mon, 6 Jul 2020 06:34:11 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id g10so15697626wmc.1 for ; Mon, 06 Jul 2020 06:34:10 -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=oDXPXE1ejSNiTZPmJzCEijdYryKHjxn03JTJMf6IP7Q=; b=nrBdfUXO6LY8W3UqebH3OTR13trp34J0vuEI51RUElQ285ST0V0W0G2+PO4jsv+hxc iLQUwUgSA6VUbu9JTOnHYL/gAiz0ajtk6cAXF8AMBAsmzGLH6OCX7lVStmeEtWmNOokn aqQKVBO/ffzZ9ykuNxvhdS86TyGMm4i/2UFi+wW2xNk4ccagDL0o1j90UxuPFljjkjfI ZvywJxRPhH6jSNIidaJ1ghg7Mi8s1U56J14BPT8gLE+P9e0dXdBExlvcO33c1B9NM2Ht tquR7H/k+Mz3WARXMH1/ra6tRevWfrzSNRlIwGgwDOvIVGWMlhLrf5xgRhr+0xutyrWT fg2g== 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=oDXPXE1ejSNiTZPmJzCEijdYryKHjxn03JTJMf6IP7Q=; b=Lf3x4TApkytSXXm1H1uMhw8CQzYg0OUML7fW7pc0YdSTKFwLz3g0xWXVoFJUSZG2yn Gaqb1NstJUO0BqAc0mcmU0xC0G+a92THul/qqXyeErV99EVRiChyXpIkbXh1shXqvOLX 4yjiTWU6dX5Hc7bXl6i6m0R6Fpc6CT7y61B1hhaA9XPTS2NyPYtosQU68iFfuk92Ojji PApcBBgir2mCVuOrhto3Bc2RpfuRHqOt1iJofexl69tZMKXuiMw8jPOb8UhzoHEqq12A 8L/Xe4/ovOZ2uVjTmAedaMFFf7tirwz1tzd7YnG/gE/E9bzdHsemat4s8KPWw1a59As3 NJgA== X-Gm-Message-State: AOAM531OprLuS0dGDQ4YFwC6cVCKP348IBED38PiPrfnKt2pjQ624ib7 OKhEDgxVbJKKqWR0YxI6O3U4Dw== X-Received: by 2002:a7b:cb98:: with SMTP id m24mr49126433wmi.98.1594042449766; Mon, 06 Jul 2020 06:34:09 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id v18sm25416082wrv.49.2020.07.06.06.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 06:34:09 -0700 (PDT) From: Lee Jones To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Lee Jones , Yuan-Hsin Chen , Feng-Hsin Chiang , Po-Yu Chuang Subject: [PATCH 21/32] usb: host: fotg210-hcd: Demote obvious misuse of kerneldoc to standard comment blocks Date: Mon, 6 Jul 2020 14:33:30 +0100 Message-Id: <20200706133341.476881-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200706133341.476881-1-lee.jones@linaro.org> References: <20200706133341.476881-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Only 2 functions attempted to use kerneldoc in this massive file. Fixes the following W=1 kernel build warning(s): drivers/usb/host/fotg210-hcd.c: In function ‘fotg210_run’: drivers/usb/host/fotg210-hcd.c:5013:6: warning: variable ‘hcc_params’ set but not used [-Wunused-but-set-variable] drivers/usb/host/fotg210-hcd.c:5569: warning: Function parameter or member 'pdev' not described in 'fotg210_hcd_probe' drivers/usb/host/fotg210-hcd.c:5666: warning: Function parameter or member 'pdev' not described in 'fotg210_hcd_remove' drivers/usb/host/fotg210-hcd.c:5666: warning: Excess function parameter 'dev' description in 'fotg210_hcd_remove' Cc: Yuan-Hsin Chen Cc: Feng-Hsin Chiang Cc: Po-Yu Chuang Signed-off-by: Lee Jones --- drivers/usb/host/fotg210-hcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c index 51dbbb0e768bc..633df2e927bb3 100644 --- a/drivers/usb/host/fotg210-hcd.c +++ b/drivers/usb/host/fotg210-hcd.c @@ -5557,7 +5557,7 @@ static void fotg210_init(struct fotg210_hcd *fotg210) iowrite32(value, &fotg210->regs->otgcsr); } -/** +/* * fotg210_hcd_probe - initialize faraday FOTG210 HCDs * * Allocates basic resources for this USB host controller, and @@ -5656,7 +5656,7 @@ static int fotg210_hcd_probe(struct platform_device *pdev) return retval; } -/** +/* * fotg210_hcd_remove - shutdown processing for EHCI HCDs * @dev: USB Host Controller being removed *