Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1040955pxb; Thu, 19 Nov 2020 22:38:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyk8e7WkOF/usR6PXV3ZnnRcLxA6klsprwGOFa/mwgPd/OHefqEb8phU041KNxPhqoQ4RRW X-Received: by 2002:a17:906:50f:: with SMTP id j15mr30352419eja.198.1605854288018; Thu, 19 Nov 2020 22:38:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605854288; cv=none; d=google.com; s=arc-20160816; b=qW7fF8aEMqUdnbYQcgGrME/KE39ARKCb1HEmlKbtq4xrwtb5MBNA7vJuIztKJx8lw/ SuunGEfznE7z6q9IKPHf3+w4R4tLV5208UAyFgFyX0Om9FJfqLnojTHsG8MhjUfyoy6N 8v1RrR9lINiQliwXHvHN0Fw40BWCSXxICX+ojX/Vz4cx7DKfdDa0LloNaEvgDmVAKtZI lgLFlVuuovkj9gLHuHk7a0imvZtmQz1oU4manAT+eyvFwqTv13hF2pVHQumiVdqtBqde ftihOmQhDriReDgdyJM1VtZgKWamhLZFvS7zYA+LCj56Kt7HYyXT6D+IhSB+AUXgUAbO Wiwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UYeryhhLnBdm9RAE9YUBJfYBX7HwSsxcuui/BkbEdkg=; b=PS+LNA1eGOdqva3d9GfJtOflNGxOw8ASCqqz3+G8C/RnG251/VanPLXaUnzkbk12T4 ZC/EhSt+/6Cvkd3ASN4csWV74WOJCxeIOOd17SaEIz07nmqtRdKxiqmo6+c07tnRcI/u NA7V1vwl9M3oQTmvxuRspPK2LR7MHDj5u/TBI19Nm49QDNuL5W9e/oYZ5CWfzLJsW8ww sXI72YtlTeKVHV1Kr6DJqEGq/hJE6H99IJw7HHWfZ+Q4VDHoh9Uoc9b4IMXWQCklyRX2 Bxa+S4LNrDUdaiVMd0D/tq3tV2ozcyd/wUuUk3OH5Y6CMH5r1cCkHQC2FRKMAolgIS0N cCBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="hrZ6UaN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si1173189ejb.105.2020.11.19.22.37.22; Thu, 19 Nov 2020 22:38:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@chromium.org header.s=google header.b="hrZ6UaN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725989AbgKTGfi (ORCPT + 99 others); Fri, 20 Nov 2020 01:35:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbgKTGfh (ORCPT ); Fri, 20 Nov 2020 01:35:37 -0500 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F159C0617A7 for ; Thu, 19 Nov 2020 22:35:36 -0800 (PST) Received: by mail-pf1-x441.google.com with SMTP id v12so6885728pfm.13 for ; Thu, 19 Nov 2020 22:35:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UYeryhhLnBdm9RAE9YUBJfYBX7HwSsxcuui/BkbEdkg=; b=hrZ6UaN/7BT3yY4EPy4Kjnh32hbKPphJwy8ODAbK0rjE9fdlPAQMN/Rmx08R+qDWTh 1Nv8cihXOVAQhIlSk5kG1xG402l0P6qtqH486eAyf84z5iUqZVq7qeaiotSU9SaZPDTq pmjaO9p/ZRnqgdfJFR/xKrRT5lYmfdF4ziEpg= 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:mime-version :content-transfer-encoding; bh=UYeryhhLnBdm9RAE9YUBJfYBX7HwSsxcuui/BkbEdkg=; b=IbgQOOD5fVDMx36b6x9z/aR6TcrE4hNO+OFvHcQZcAWAaE4stYJ67+f0dncEHmegI6 zONsYYuq6yw5bzJmVDxY9HPkHrNqEd98c07jtK2i9SlK66973b5/tRjJBypfpwDri2CC RJGn029ZZelsDvGoip/SxgRUv/Ta5Ghru5chEArvgMKaD73yeu9kn66ODzv1FJSBBSw6 XsdiNGC5eDnw/BOwo4QPa3r7ORgsN4y8f4fzyn6GEigfrrfnVAv8HrVZzf9JGdamQJyo 3aLGHoP+7/HLTGXdT8lW3zB4M7ShfSAsd0k38uiJYRrWHCWqwxBJWl07rUB1Hsg3N/K3 E4wQ== X-Gm-Message-State: AOAM5304DGt2BhRkHFoDuo8bsfY2tRVQpIxqa14AAYEbk5lcTaSxeJZR h7V4OQCsrfa7DurMUG4LkS9IUA== X-Received: by 2002:a17:90a:4483:: with SMTP id t3mr8169405pjg.116.1605854135701; Thu, 19 Nov 2020 22:35:35 -0800 (PST) Received: from pmalani2.mtv.corp.google.com ([2620:15c:202:201:a28c:fdff:fef0:49dd]) by smtp.gmail.com with ESMTPSA id s15sm2191962pfd.33.2020.11.19.22.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 22:35:35 -0800 (PST) From: Prashant Malani To: linux-usb@vger.kernel.org, gregkh@linuxfoundation.org, heikki.krogerus@linux.intel.com Cc: linux-kernel@vger.kernel.org, sfr@canb.auug.org.au, linux-next@vger.kernel.org, Prashant Malani Subject: [PATCH] usb: typec: Fix num_altmodes kernel-doc error Date: Thu, 19 Nov 2020 22:35:22 -0800 Message-Id: <20201120063523.4159877-1-pmalani@chromium.org> X-Mailer: git-send-email 2.29.2.454.gaff20da3a2-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit to introduce the num_altmodes attribute for partner had an error where one of the parameters was named differently in the comment and the function signature. Fix the version in the comment to align with what is in the function signature. This fixes the following htmldocs warning: drivers/usb/typec/class.c:632: warning: Excess function parameter 'num_alt_modes' description in 'typec_partner_set_num_altmodes' Fixes: a0ccdc4a77a1 ("usb: typec: Add number of altmodes partner attr") Signed-off-by: Prashant Malani --- drivers/usb/typec/class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/class.c index e68798599ca8..cb1362187a7c 100644 --- a/drivers/usb/typec/class.c +++ b/drivers/usb/typec/class.c @@ -618,7 +618,7 @@ EXPORT_SYMBOL_GPL(typec_partner_set_identity); /** * typec_partner_set_num_altmodes - Set the number of available partner altmodes * @partner: The partner to be updated. - * @num_alt_modes: The number of altmodes we want to specify as available. + * @num_altmodes: The number of altmodes we want to specify as available. * * This routine is used to report the number of alternate modes supported by the * partner. This value is *not* enforced in alternate mode registration routines. -- 2.29.2.454.gaff20da3a2-goog