From patchwork Wed Mar 3 09:58:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ray Chi X-Patchwork-Id: 12113257 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=-26.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT,USER_IN_DEF_DKIM_WL 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 36CA0C4160E for ; Wed, 3 Mar 2021 10:39:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E9C8764EDF for ; Wed, 3 Mar 2021 10:39:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240860AbhCCKby (ORCPT ); Wed, 3 Mar 2021 05:31:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1842994AbhCCKXa (ORCPT ); Wed, 3 Mar 2021 05:23:30 -0500 Received: from mail-qv1-xf49.google.com (mail-qv1-xf49.google.com [IPv6:2607:f8b0:4864:20::f49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 382B7C08ECB1 for ; Wed, 3 Mar 2021 01:58:08 -0800 (PST) Received: by mail-qv1-xf49.google.com with SMTP id h10so17167181qvf.19 for ; Wed, 03 Mar 2021 01:58:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:message-id:mime-version:subject:from:to:cc; bh=TSFbiHk2wopoWX9vUZpzk37wo66kS5QquU8TlUFLvVA=; b=hofwvEuISaHVnfbjMGuHJ9z12jtJGJ3Qy9uq05ohrB0MDYJXYafKi++1Qxyxw9tnUK T0w6CvVIxYCR/JnYnB8TG1CFQ8H/dgeA99w2Rl3VgEbRR3skZh6TM6nM/Ouz2IqpL+db YjhUjEnIratoU1YqSvxjY0g4y2fsPNVbY639UNLr6L0wVCWMtlBT2C5G6sPEjl0mPd1z tX+eRyddDHFQ/E+63L6shixo/RVUzPmMxYVT3mHORVtjd0Dg5OpL3n87f2SfyTcrhZMx lgW8i4RMvFPDaeEOyzMHSmgg2c14etouW3WigfUhGa0tGM7OeeNOwhUhRw5gRv7PzoSy Jcgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:message-id:mime-version:subject:from :to:cc; bh=TSFbiHk2wopoWX9vUZpzk37wo66kS5QquU8TlUFLvVA=; b=AQJtuSQjz/it2++T8R9A41Q3slVjiJchFyz9TP4wsWzQpEdOxYhxeXb5mLfpvKXL5X v7pAGcNVIXwvQ+v2opVFDoNmHAmP+G7juDNCw7R5CbOlgsKj6A9KTLxjA5FD/DZ4ri/Y mF6HWw8raQs7gbGlFpP25Gcnfl4kqi479Xk6mUdzHz5UuTGBAShsR7aO8pInnRNy3oYP okhK+p9uDh4dE9RPlx7aiHEpXwXzgeeojIdTJ59PuDvioiwBtxU2/DOqF8/DbyDmgLhm pIj54qqEa16K5NUT45NmXADJDWeIwHuiOynqS6S7DLDw4qWIpSY0hBMVGR0sMIHgtQuP IdiQ== X-Gm-Message-State: AOAM53016jWp/bNBDzQOXiivb/Y4fE14jtbk1XFsK89OY98tYadGuAdl i9nxN8Kdgp7HXNDX+gLc8HHpZ4Nzo0E= X-Google-Smtp-Source: ABdhPJwQ/JiIgEDiPOARa1Nh5v97jWzDrd/L0iXI4ma6Im+lmhmIb9PjN2A2XnITINs7yMYi/Pvw8OA21pY= Sender: "raychi via sendgmr" X-Received: from raychi.tao.corp.google.com ([2401:fa00:fc:202:d0b:ce1b:8f7e:f53a]) (user=raychi job=sendgmr) by 2002:a0c:e788:: with SMTP id x8mr7735388qvn.48.1614765487321; Wed, 03 Mar 2021 01:58:07 -0800 (PST) Date: Wed, 3 Mar 2021 17:58:02 +0800 Message-Id: <20210303095802.2801733-1-raychi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.30.1.766.gb4fecdf3b7-goog Subject: [Patch v3] usb: dwc3: document usb_psy in struct dwc3 From: Ray Chi To: balbi@kernel.org, gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, kyletso@google.com, Ray Chi , Stephen Rothwell Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The new struct member was added to struct dwc3, but a documentation was missing: drivers/usb/dwc3/core.h:1273: warning: Function parameter or member 'usb_psy' not described in 'dwc3' Reported-by: Stephen Rothwell Signed-off-by: Ray Chi --- Changelog since v2: - move Signed-off-by to the bottom Changelog since v1: (reported-by Stephen Rothwell ) - added Reported-by line. drivers/usb/dwc3/core.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 6708fdf358b3..ce6bd84e2b39 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -988,6 +988,7 @@ struct dwc3_scratchpad_array { * @role_sw: usb_role_switch handle * @role_switch_default_mode: default operation mode of controller while * usb role is USB_ROLE_NONE. + * @usb_psy: pointer to power supply interface. * @usb2_phy: pointer to USB2 PHY * @usb3_phy: pointer to USB3 PHY * @usb2_generic_phy: pointer to USB2 PHY