From patchwork Fri Jul 17 13:54:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235705 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1724788ilg; Fri, 17 Jul 2020 06:55:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtRdYs03MoLmiYyvh8Qh0E1bD88rle+XTdbEQLN1915H593qtguJukyssV3FTccQ2ycbdG X-Received: by 2002:a17:906:1111:: with SMTP id h17mr8423744eja.203.1594994117164; Fri, 17 Jul 2020 06:55:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594994117; cv=none; d=google.com; s=arc-20160816; b=zfDr6l2MMPGt3u+Na2CLm0tg5Ac89RNVLCYD3wY50qeVb0nNqIbcpoSNayKKMzRrhd 9xQZsEn8Ux+crIuuzBEX+0Uv8tqa8/LL56hPeLLYdJCZbWUS71Gfv0/ujJsipukPa0xg /bFqvce46FUQqIZTL5Z/Wwl3dkyD9wD+IajmaHKFzj9FKDx7i0+5jSIdRMB3iSo6qaX/ PQwbU0azv8UL8jMdp76inxJpkD2cFxOehBggyN902s07v5wwCOXhkTEl0SampXBXW0UW 8DcIy6prDGmN0ZtHuRcrkVGHNGgFgJv7Aot5q4BbRq703JgXn3mNTThtPX4+ryC4IQpA FXrg== 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=vKemoWjqR6g96Xgsgirmftjm/E0sdVIsOFgpktr/D0I=; b=qSHpi+WCVcybJHEvGZ4hRbYuyLJ05O8EauZJ4lGr2E1yoB+x5JdNijCOMIjeeL3qm5 V3p3rkGAv3VZMDcMyfxZlFcz/AxXPoWTjxny1ocsvCZUJRpfkqSFGSbfNzCdx4E0QSAm tHPJmvWyABtnEnhA0KMECfQaV3UkB0NqS5UaRCn85sIPSTW5+mlEe+9EXlrmPqZqAgcr 9QoiBhyO6CBOa9ozjMCBZMgWhXcrARlDcOFVgg+7csx2y0TrUeoLA4Z5IBwe6i9gnU4H OLFzFzm6OQ7tSRSHK6PKp/cfuU8aQjIo9zXXl8LL88D3+Yv65duh9SbRm37o6lSESxKC D9iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KkJ58wTN; spf=pass (google.com: domain of linux-spi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-spi-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 oq5si5227174ejb.110.2020.07.17.06.55.17; Fri, 17 Jul 2020 06:55:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-spi-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=KkJ58wTN; spf=pass (google.com: domain of linux-spi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-spi-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 S1726983AbgGQNyf (ORCPT + 2 others); Fri, 17 Jul 2020 09:54:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbgGQNya (ORCPT ); Fri, 17 Jul 2020 09:54:30 -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 3A7D4C0619D3 for ; Fri, 17 Jul 2020 06:54:31 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id z15so11192597wrl.8 for ; Fri, 17 Jul 2020 06:54:31 -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=vKemoWjqR6g96Xgsgirmftjm/E0sdVIsOFgpktr/D0I=; b=KkJ58wTNLjFEfso6eafu7XHSWYDgIT2QpWO7ZoFkscH8T9bz8ZmXHL/FjjlmZ89szi SaFxtVC+zwUMaS9y7ToZr9FGXrgGE9lajWTHriEwPcmteH93rS1qRDvL4YRUgyiwqVjY j2XI/cb69GWiMEVGLVZJpYOnN7mJxmtOVxzdc5xq7P1QqsKa5UyRwAwgxwGNN4SMhZ9c TqcG0zsLXsFS6Z54kAMk4BtYeysJM7Og48NOlrTAwXyP4f1nYDQ2Co2a33Si6aDn5C8r t84r0SBiYXp9Hn5nQINc7//3xnye6zTLmDHLpUWGwXf2nG1a/uQpGh81nFfjKIfX3oCe TMVA== 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=vKemoWjqR6g96Xgsgirmftjm/E0sdVIsOFgpktr/D0I=; b=aDaOH8ze871zRt4ZdTsAWvM3enhEprPjL7BxY0CiTyK+901jhOlSon2Nx2/bTm81Si zS1ad/AlblvBgywIZ3NzjJESqoHsmXEBjDvJR7v1eDuimNsDM+R+G0mE2Caq+LeXjQck /OwwB4d5i4njTmiE+NtnXNfpZgglYGHVV8nq9kLJgpM9379VOrgddToCaYAHHx+3G2N2 cEeVhOWHoUj0XpnCRm2qSsHkXYMTzWLPf+ogKZCGsMWEvIA+fir6oHZzH+zz+ShRMArT smqDbug/SF9BZQ/11v0qCU1vaHRhRUP2l6sSmLYApeJRFrP4mJkbdPRg6WIowaJvwMUy 4W1w== X-Gm-Message-State: AOAM530bj6abbw43aIAZoYb3hAwYfaFzyh5MEMgCufMK55WWPQd6LlnZ NusbLt8L0M17YkhAEIw7Al9N8A== X-Received: by 2002:adf:e44c:: with SMTP id t12mr11315545wrm.103.1594994069964; Fri, 17 Jul 2020 06:54:29 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id w128sm16118356wmb.19.2020.07.17.06.54.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 06:54:29 -0700 (PDT) From: Lee Jones To: broonie@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Lee Jones Subject: [PATCH v2 03/14] spi: spi-davinci: Fix a few kerneldoc misspellings and API slippages Date: Fri, 17 Jul 2020 14:54:13 +0100 Message-Id: <20200717135424.2442271-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200717135424.2442271-1-lee.jones@linaro.org> References: <20200717135424.2442271-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/spi/spi-davinci.c:249: warning: Function parameter or member 'dspi' not described in 'davinci_spi_get_prescale' drivers/spi/spi-davinci.c:249: warning: Function parameter or member 'max_speed_hz' not described in 'davinci_spi_get_prescale' drivers/spi/spi-davinci.c:249: warning: Excess function parameter 'maxspeed_hz' description in 'davinci_spi_get_prescale' drivers/spi/spi-davinci.c:719: warning: Function parameter or member 'data' not described in 'dummy_thread_fn' drivers/spi/spi-davinci.c:719: warning: Excess function parameter 'context_data' description in 'dummy_thread_fn' drivers/spi/spi-davinci.c:735: warning: Function parameter or member 'data' not described in 'davinci_spi_irq' drivers/spi/spi-davinci.c:735: warning: Excess function parameter 'context_data' description in 'davinci_spi_irq' Signed-off-by: Lee Jones --- drivers/spi/spi-davinci.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.25.1 diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c index f50c0c79cbdfa..818f2b22875d2 100644 --- a/drivers/spi/spi-davinci.c +++ b/drivers/spi/spi-davinci.c @@ -236,7 +236,8 @@ static void davinci_spi_chipselect(struct spi_device *spi, int value) /** * davinci_spi_get_prescale - Calculates the correct prescale value - * @maxspeed_hz: the maximum rate the SPI clock can run at + * @dspi: the controller data + * @max_speed_hz: the maximum rate the SPI clock can run at * * This function calculates the prescale value that generates a clock rate * less than or equal to the specified maximum. @@ -710,7 +711,7 @@ static int davinci_spi_bufs(struct spi_device *spi, struct spi_transfer *t) /** * dummy_thread_fn - dummy thread function * @irq: IRQ number for this SPI Master - * @context_data: structure for SPI Master controller davinci_spi + * @data: structure for SPI Master controller davinci_spi * * This is to satisfy the request_threaded_irq() API so that the irq * handler is called in interrupt context. @@ -723,7 +724,7 @@ static irqreturn_t dummy_thread_fn(s32 irq, void *data) /** * davinci_spi_irq - Interrupt handler for SPI Master Controller * @irq: IRQ number for this SPI Master - * @context_data: structure for SPI Master controller davinci_spi + * @data: structure for SPI Master controller davinci_spi * * ISR will determine that interrupt arrives either for READ or WRITE command. * According to command it will do the appropriate action. It will check