Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1454056ybh; Mon, 13 Jul 2020 20:36:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5b4vkI8NUwZela7E8Pl72PaWr5PM1RvMJ/QSyb8DqtQaQ0WIpAsPcbExrc3Q1ezj7R8K3 X-Received: by 2002:a17:906:3a9b:: with SMTP id y27mr2659017ejd.38.1594697813825; Mon, 13 Jul 2020 20:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594697813; cv=none; d=google.com; s=arc-20160816; b=rOLtsQ+mGxTIWYxlfSPSs8j8Nd4fp1heVm24iQyNVSiaGgShCOzjUmyy2bThcwOJQQ fDjE1z54FC6ZR7hTipSObEAmIrT3IPsD19pc6wsgwBlVtM0FDLkYyfYyLUfyQXA4OJJl oIVLmzxME5It26hJ1V4heEmJmi0xoib9OdHzhLNLfXX5lQZf5DBSAf9kytDr4WdsACzH 9aLbXhHJMlPbaI3Rcmye3icmYX8XsZUBQZyXP5zw9WrmUvEWMV8eySWeeHY1PKIcAxps l1cBbD0WQY7I6vXd+/fojpJC8SYu0ckFmSwRO3Y4zVnGeHS3A54+3JXo7t2SFzGeLS6r rGNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=0+nyRB4FjMX87DKB086K0BKyIubl+CqEw8r/lrjQmxQ=; b=Ezy56kpaJZIB8bh5mmGL/5dTAm790/lQtcKCxGJABqYl/vVz8Zu/6LL4q62tAmuUSG 1QeGsCPjlYo49GkCOlV91nByzerQiU0UPUT4gA9GvYErcuf4w2Pto6+XdjfBYQDRMvl1 IGAALpbVez0IGSugTr1TURBVBlc7JrGzYmRpqMVaRHTZhF33IUZd+I4BzraMZ3ZCR4Ih N3mP4wZt0LBGbTqjWyX3LtQ4YWTVUYnbCH3T0T94kO5GNPwN8I/9Tbt9l+bQs7DXXEIa Nz9E2ZfhZ2AytDKLa6mMh5phfllnFmw3PRF1l+58wrYoDsdyBsMQ/br1OGlaPDuzDt+q BDQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Vpd863DW; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o17si10546959ejg.160.2020.07.13.20.36.31; Mon, 13 Jul 2020 20:36:53 -0700 (PDT) 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=@google.com header.s=20161025 header.b=Vpd863DW; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726661AbgGNDgV (ORCPT + 99 others); Mon, 13 Jul 2020 23:36:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726619AbgGNDgU (ORCPT ); Mon, 13 Jul 2020 23:36:20 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5628BC061755 for ; Mon, 13 Jul 2020 20:36:20 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id d27so19893418ybe.20 for ; Mon, 13 Jul 2020 20:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=0+nyRB4FjMX87DKB086K0BKyIubl+CqEw8r/lrjQmxQ=; b=Vpd863DWtRje1jzZiUqY+85x9YDp4OKtuawen/XxjhstnxKOa7+DKF8jeefo/rEiRg cJ57qzZjMfX/dwbrFBeJeN5UN17t4L7D/nwyKuCMNMcSIok2yLJLdK3zBpo404vdBcXL TR98Qx9PIM8D2zbFibUMHBTV/sAFcy7UXxWF62zWnLmxFVTtxCqKMChrp41V5WbCs3oX mbQwZKZ7b/LteXsP8WqdbjjldWR0uBke8c+ZnY9ccAXVH/d2HenbCWCgcW0m55Ifo1bh +oWfC1CVcqvxshVIfhR/zZ3XKORCM3CqNWJQt7sEkW1v60Xwu7eIXake3VQSvBZ/Sz7C eoCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=0+nyRB4FjMX87DKB086K0BKyIubl+CqEw8r/lrjQmxQ=; b=buM+AgHYbeyuBRpOtSrJmhjUo1Yl5WBHOWYip9WctMDpJ7SwBxJZuO/tpuWwSjiYRz UTjxxrU7XvBxdLv9SjHs3p2qg435qDu1g+pCtecc27Bhc0cUX4xLsqB0otw3SgF8uGI7 hYJxjE8tx5e2nqvCZHm+fbzFjjktcwCEhpnTPTqzyapmUkY+Hs27aKGnjPT31ALI4vP1 hikCK3XApAT7NlRyyqrnv9G80/q0anPSnS41MDbzp9VMKSinRRvD0u0tyI0T/OOwPH23 ho99SjIhOW6/7mMwv3+6hOqFKjNKG2em0PXi+Oqn3HK8BB4rkM2NB28FAuFMdxiZbcTq p8WQ== X-Gm-Message-State: AOAM533g/dB0O4Omcn1fhEOYPsyXu+b945+7za6ijGVItaf8Gq+UjAVr i8c7as6Z/2+rP7FR9oP28Hrmqr5iWpbb X-Received: by 2002:a25:d104:: with SMTP id i4mr5388671ybg.176.1594697779588; Mon, 13 Jul 2020 20:36:19 -0700 (PDT) Date: Tue, 14 Jul 2020 11:34:52 +0800 In-Reply-To: <20200714033453.4044482-1-kyletso@google.com> Message-Id: <20200714033453.4044482-2-kyletso@google.com> Mime-Version: 1.0 References: <20200714033453.4044482-1-kyletso@google.com> X-Mailer: git-send-email 2.27.0.389.gc38d7665816-goog Subject: [PATCH 1/2] usb: typec: Comment correction for typec_partner_register_altmode From: Kyle Tso To: linux@roeck-us.net, heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org Cc: badhri@google.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Kyle Tso Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org typec_register_altmode returns ERR_PTR on failure. Signed-off-by: Kyle Tso --- 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 c9234748537a..02655694f200 100644 --- a/drivers/usb/typec/class.c +++ b/drivers/usb/typec/class.c @@ -580,7 +580,7 @@ EXPORT_SYMBOL_GPL(typec_partner_set_identity); * SVID listed in response to Discover Modes command need to be listed in an * array in @desc. * - * Returns handle to the alternate mode on success or NULL on failure. + * Returns handle to the alternate mode on success or ERR_PTR on failure. */ struct typec_altmode * typec_partner_register_altmode(struct typec_partner *partner, -- 2.27.0.389.gc38d7665816-goog