From patchwork Thu Jun 25 06:46:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11624655 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E0A9290 for ; Thu, 25 Jun 2020 06:46:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C718B207FC for ; Thu, 25 Jun 2020 06:46:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jAVR5eoy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390139AbgFYGqf (ORCPT ); Thu, 25 Jun 2020 02:46:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390151AbgFYGqd (ORCPT ); Thu, 25 Jun 2020 02:46:33 -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 14010C061797 for ; Wed, 24 Jun 2020 23:46:33 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id q15so4412852wmj.2 for ; Wed, 24 Jun 2020 23:46:33 -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=zFD+XYh0LbdyDPIgjJ6ML5H3hXoar7p4uFfuKLbk0ZA=; b=jAVR5eoyrmVKjLEHNqfjCNWanaCYTE8ppNlexuZG9che0RL0uhWQj0j1YU5wDQgiB2 XxrXcc5uE085/9qsTkTpk2XicffwrBGGolaOz3pSHPcANX/VXJO3NcsEvj/CjpkIDpYq Q3uXB5Y94Cd9PoRDMEZTfc2n3h2txHH6s5g64wtshhSl8eZGhOHM5VvLNYbdwtut8zjf SHmv0HSTQc3SOI81N9Hl/EIU4+S2YDJJin++zw4JooKAF6IG7Tz/GhIVJ2tlE5mHG9XM kU1qAEaskZkY0Jz/u9LZHE9tEDf4/lcq6JOS+Bt0SaLzhLaG1eGh1Rb50sae3rOuvipu FWZQ== 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=zFD+XYh0LbdyDPIgjJ6ML5H3hXoar7p4uFfuKLbk0ZA=; b=Pm1SNp23YFtE/zKQ5j0R+VTAaTTi5W/a6cdnIjdSYdAv6MejbDzYh2dicFvfEwIbFH YqyvyMIeCfJr4HTVrOfpTj/pmk/6/uHg8Y4CicuhKRggYOo/d3oKmJXGB1c+ev5reOkz QfQdfJpJf9Mw5UrxwHvmSnMAPx/FDXmRUBys+/w+lqhbZvxMqZxmmQdHP2EWioUOlWmg e5ehAWiW/QSm5dC2n4SxHwqQRSODBcXXRxBkTUuZbVrm3S4PRtZ4czd3dachg1EilIcu xjSEqBmDe4pzLHpawboTp7HRd1SYVvg+7GeU9ETM7LCL4NP1eo3oNQv8KAdQK1wcy9Ga Homw== X-Gm-Message-State: AOAM5307p27WzvRJK4ySmdO9NaLv0cFBOxehMhLvPmMfY7sEv1qRA7RD /Dbt2AaRKIoiaZVlDHyFcAQY3Q== X-Google-Smtp-Source: ABdhPJwMgZfQzBCeFoiLZTJnp/x4vgmn7WMj1vkUKS/+Lm7IeVtJH2PwgM57kLDLfxA35mh6mWhlMA== X-Received: by 2002:a1c:dfd6:: with SMTP id w205mr1785713wmg.118.1593067591825; Wed, 24 Jun 2020 23:46:31 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id c20sm27235363wrb.65.2020.06.24.23.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 23:46:31 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Tony Lindgren , Keshava Munegowda , Roger Quadros , linux-omap@vger.kernel.org Subject: [PATCH 05/10] mfd: omap-usb-host: Remove invalid use of kerneldoc syntax Date: Thu, 25 Jun 2020 07:46:14 +0100 Message-Id: <20200625064619.2775707-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200625064619.2775707-1-lee.jones@linaro.org> References: <20200625064619.2775707-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Kerneldoc is for documenting function arguments and return values. Prevents warnings like: drivers/mfd/omap-usb-host.c:128: warning: cannot understand function prototype: 'const char * const port_modes[] = ' Cc: Cc: Tony Lindgren Cc: Keshava Munegowda Cc: Roger Quadros Cc: linux-omap@vger.kernel.org Signed-off-by: Lee Jones --- drivers/mfd/omap-usb-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 1f4f01b02d98c..f56cdf3149dc0 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -120,7 +120,7 @@ static inline u32 usbhs_read(void __iomem *base, u32 reg) /*-------------------------------------------------------------------------*/ -/** +/* * Map 'enum usbhs_omap_port_mode' found in * to the device tree binding portN-mode found in * 'Documentation/devicetree/bindings/mfd/omap-usb-host.txt' From patchwork Thu Jun 25 06:46:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11624659 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 044F090 for ; Thu, 25 Jun 2020 06:47:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DEC5D2081A for ; Thu, 25 Jun 2020 06:47:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pGhwHR37" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389501AbgFYGrK (ORCPT ); Thu, 25 Jun 2020 02:47:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390159AbgFYGqe (ORCPT ); Thu, 25 Jun 2020 02:46:34 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C8B0C061799 for ; Wed, 24 Jun 2020 23:46:34 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id b6so4579158wrs.11 for ; Wed, 24 Jun 2020 23:46:34 -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=+TE9kOk1Eo+Xge5t3lOhgSjVuYsSynXXEjCl45jZ/BE=; b=pGhwHR37tt09Kl/bFu1zOX6lNU6Dnj8LyCDuRPVubE+Z3M1gSrffbY1VbW9qfSaXiE CNdyWz9lJ0fYj2v5+22h8s0YXCpzND9580Dayad1kycUDReg+D/IhrDU/NO5omUJyCSS xU0riBAU+Vh4SJ/wHhIK/ZIpZTtQ5Onz2zI56sZxmVNSSRIV4b4DZ8c9HqWT7dlLN5sz Y7Aq86j9bH3VV4sB9SdCoQ8+MSmCO8TU6TZDLq8+hT02COCOq7IXFrO0ZftW8FWes2gN zulTt3y1vQ7kc9cNSnHlyPIHjPzBedtVnrUfpSSW0Y0qv6ls8pctACHJYSlHtWv6s8iz bjvA== 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=+TE9kOk1Eo+Xge5t3lOhgSjVuYsSynXXEjCl45jZ/BE=; b=KCesVQ/Ug5iVpimlpgoxaq38sAI18tjP7YZ7GsP8Zeda6S+nZ+m9ELr0rllgN/JWxG /4+qbOnjWG4X10ALgaJZR0qEuEKL2MRSTjFPvOCyT/h2V8ECVQ6u6RxbvyBcOGhwrAQe iKYZahbYVQZsp9PEhb/t/xRnjKM1Jzd7BCdu76HugG2D1SSenazCHmOzXxvLCOdYLUO5 uEyYqs2puSEB0fvMwMYgPGR5ixWL1Q0nhZt3gcFhvmUlMBJpOFX0viCADKCF6hFkQOMk Mep/orP8aE1JG4WJj2FwpoXLmFABougdzaZkn9YltbHMofOGjmJv4neEUsXXuiSpLFjc T0OQ== X-Gm-Message-State: AOAM531TurvunDP3kzkl+YbVUaNF7uHuD3DEGOzkj833UlpdrXYEAiDQ hu0xvFKg/ndnHM83RqjBF2TFPA== X-Google-Smtp-Source: ABdhPJytxUMgGBVPUzM3IOR72zdB3gVcybqT84W3fTE4JkO2L+7Fo++7itDizMNwfNXl2gA3TPz5/A== X-Received: by 2002:adf:e749:: with SMTP id c9mr37817613wrn.25.1593067592886; Wed, 24 Jun 2020 23:46:32 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id c20sm27235363wrb.65.2020.06.24.23.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 23:46:32 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Tony Lindgren , Keshava Munegowda , Roger Quadros , linux-omap@vger.kernel.org Subject: [PATCH 06/10] mfd: omap-usb-host: Provide description for 'pdev' argument to .probe() Date: Thu, 25 Jun 2020 07:46:15 +0100 Message-Id: <20200625064619.2775707-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200625064619.2775707-1-lee.jones@linaro.org> References: <20200625064619.2775707-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Kerneldoc syntax is used, but not complete. Arg descriptions required. Prevents warnings like: drivers/mfd/omap-usb-host.c:531: warning: Function parameter or member 'pdev' not described in 'usbhs_omap_probe' Cc: Cc: Tony Lindgren Cc: Keshava Munegowda Cc: Roger Quadros Cc: linux-omap@vger.kernel.org Signed-off-by: Lee Jones --- drivers/mfd/omap-usb-host.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index f56cdf3149dc0..aca5a160c1b24 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c @@ -526,6 +526,8 @@ static const struct of_device_id usbhs_child_match_table[] = { * usbhs_omap_probe - initialize TI-based HCDs * * Allocates basic resources for this USB host controller. + * + * @pdev: Pointer to this device's platform device structure */ static int usbhs_omap_probe(struct platform_device *pdev) { From patchwork Thu Jun 25 06:46:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11624657 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8AB990 for ; Thu, 25 Jun 2020 06:47:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9F5B320773 for ; Thu, 25 Jun 2020 06:47:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="L97XwVAL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390151AbgFYGrE (ORCPT ); Thu, 25 Jun 2020 02:47:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390163AbgFYGqf (ORCPT ); Thu, 25 Jun 2020 02:46:35 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10F72C061796 for ; Wed, 24 Jun 2020 23:46:35 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id q5so4599635wru.6 for ; Wed, 24 Jun 2020 23:46:34 -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=PPkLe9A2c/a37hUly+zrhj0g8oPWNS5BWdFQdlxMTw8=; b=L97XwVALwtGB8lb0Ydl/Uxoxe8raykVlOYBYqzU4heUsw5RqxnPa3z8xLxPGWvfAbA plswBX//r6jz0dXg4KLn3wKD4CaHKrhY7iF7sZeT+RbpUrmY42yepOoZx+MVPjI225VO nNLGFSiojX+A97815KN5agb2E/kLbUdBcCIdOvBxdrbFrtff1TdCLeB8peWn7SoyItYh +VcxpYleMeIQH9oOuZf7wTN5wh42l2Ev54zBug8m3GmfyWSt07q2LFyenksyBaHsSM77 EfhCIV6FZbyzHXCZ9HClXrK8R8qZxKM4nHdlXz4ut6uL1CY+62i4UYro1xNOXDO4L9dY IyGw== 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=PPkLe9A2c/a37hUly+zrhj0g8oPWNS5BWdFQdlxMTw8=; b=Hvk9rRGjRw+guEuWcM3K8feNCXz82gc+WfdsJVpo3ua+VKo5g2RxNCn6RrZwhYgrzu W3Nt9Cw95AGXyq6CLcxXkpoJoDwAdDqE6RRhUp+i91n1yVNTzpa87qNYAMN+ij8ri//P QOu4wD4fdl773utKZJFp67yfKsyJ4QpzbWcyff7q1P8xhrzChDjEq79kT7vG0/80AG6V 5DaHIz3sgZRE6SYooQUJLnCkFDr0zCvkD5xbRmoDYjCkvRWy2JRGAWciflV0QAx4TD/+ MooK1KsEqJTcvdWIeUAc+uGxtVAkRSKQTYI7Lv6Cc3o/sk03jv+TsQtwWz5eqoMr/fxn 9T7w== X-Gm-Message-State: AOAM533nQCLFmPGYkBmOtVyksP5oJGemUPFNroVaDIU5IGUiFe7dsb/f DE9pvJPOJWoPZpCOL7VmkFAj2Q== X-Google-Smtp-Source: ABdhPJx0uw9TCSRR+V93tjiW3ToHdg6Sqq5aiNebHk420Mimxl1+ayhEO9bw8440/cK3hU1Save1sw== X-Received: by 2002:adf:f54b:: with SMTP id j11mr19439037wrp.206.1593067593835; Wed, 24 Jun 2020 23:46:33 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id c20sm27235363wrb.65.2020.06.24.23.46.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 23:46:33 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Tony Lindgren , Keshava Munegowda , Roger Quadros , linux-omap@vger.kernel.org Subject: [PATCH 07/10] mfd: omap-usb-tll: Provide description for 'pdev' argument to .probe() Date: Thu, 25 Jun 2020 07:46:16 +0100 Message-Id: <20200625064619.2775707-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200625064619.2775707-1-lee.jones@linaro.org> References: <20200625064619.2775707-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Kerneldoc syntax is used, but not complete. Arg descriptions required. Prevents warnings like: drivers/mfd/omap-usb-tll.c:204: warning: Function parameter or member 'pdev' not described in 'usbtll_omap_probe Cc: Cc: Tony Lindgren Cc: Keshava Munegowda Cc: Roger Quadros Cc: linux-omap@vger.kernel.org Signed-off-by: Lee Jones --- drivers/mfd/omap-usb-tll.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c index 4b7f73c317e87..04a444007cf4e 100644 --- a/drivers/mfd/omap-usb-tll.c +++ b/drivers/mfd/omap-usb-tll.c @@ -199,6 +199,8 @@ static unsigned ohci_omap3_fslsmode(enum usbhs_omap_port_mode mode) * usbtll_omap_probe - initialize TI-based HCDs * * Allocates basic resources for this USB host controller. + * + * @pdev: Pointer to this device's platform device structure */ static int usbtll_omap_probe(struct platform_device *pdev) {