From patchwork Wed Jul 15 15:06:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235603 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp703235ilg; Wed, 15 Jul 2020 08:07:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxa2NZoAtCl6HE0nS7M+Y2sbt8Nt0oLzIc169VWFhwW6V+vWwVLg5QX4Lmotq3GwqnE5fij X-Received: by 2002:a17:907:20d1:: with SMTP id qq17mr9799387ejb.214.1594825653707; Wed, 15 Jul 2020 08:07:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594825653; cv=none; d=google.com; s=arc-20160816; b=ONVDV77IaiH9QoniYmpsEAsB20fSxpWZY79Vd1pHEjnzTWyE/Z5PW86zwdYyt6CP8L iMGnyk+sb1t1iKVcuq3B1fi9Hv686tBIWEzHiPi6XAds0mi/SMpRuyik1y+5GtCD/cLi D4Pc9R4rDBeYp9BDZxtc6Ujfw9aXubpxgErFgqglvfeWx0PLs5zdwEV/UsSl4nilaAKY YRcMAkN/2fgtBHY7AY8AnMTj2Bdw58gRi0qkYYGxalwDe4d8aKErtc+3FHZiR+FuxmHi zl8/UXkY7uUjGjosRSwK45kYYDBqcauN8ZRxUJjHtqyrn0X4CzqO4LpgIJfzf2+WKU/e 1qgQ== 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=1In4J95rQ1jY0O0lGxRzHtBj4yZjymeu6Qd8/6debhodvcsUITu8DrOfDWAid0Dth1 ekAe4T+0s35L84t3Pj00YB9RoISvmshu3EeTm9Es2sBRRXiqDF15MBGMTuMx6SEWWhIZ 6esubSZJ98Vj7zV62FRsIrUqvVKS1fjn+IuCGICRifW3K9D9bMYV4sXzMM0vJMx3bbcl RbMac2W3idPYmGNu/Dw/QeqkMIjT27peRkeRd9cLGLWRVTXlbNNkZJg3/yVlOdtbWzlq MLohj59iwn1zSd0UMBCCnhXGwuLzzkyUZwZdNXaN7cVCjQHtRs+TYEwKxcFff6NGvUTB cVIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MuVa6YUi; 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 bf28si1525471edb.312.2020.07.15.08.07.33; Wed, 15 Jul 2020 08:07:33 -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=MuVa6YUi; 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 S1727869AbgGOPGl (ORCPT + 2 others); Wed, 15 Jul 2020 11:06:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727848AbgGOPGk (ORCPT ); Wed, 15 Jul 2020 11:06:40 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4AC2C08C5DE for ; Wed, 15 Jul 2020 08:06:39 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id 22so5935308wmg.1 for ; Wed, 15 Jul 2020 08:06:39 -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=MuVa6YUilZbMg938X6+LEiTeMKwmIyt0RScRI3mHKMSuc868HMtye15e+tdjz7hn5l pm6AT7nOyryMAZpDFrCikxebECb2ckO+QnyNGZ5PNQYIudu90DgxNcpa4DuPtVhVjIUa SN8IPX+xnfZAB8oFwQjswqvmWXCNl5KOCfrc+RCbt7EJY9QOTaIuoG+4Ay8r/xYX+oJh iZGI4AKMukXc74MYDDnc2SxtzANeEqihLcQ94ZD+XxjhGJHuZ3b07myurXNAUcCQLAD/ g50CYKeZ/F5UaVtwBdnc/n2IPvzfF6dQV/1Bf5xrb2Hm5uRn+r/OYpDGHLKgLuhHWo1R IO7w== 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=YyVI9Tc30gmZfCd1hyxfVE1RCO9IOS/txR8JwxQh22Ic+qUCix0c/kM7jmVadm3ucP bDdBSNZL7msgTlu625ZDXkk7YhrvZ+kcFmtldBTzRTvQ+IvUOOg3JAAV71GQatifAYdk 5t4KpHhGHtnMIlA8CrB36qOQ0gGRAB6uqt885yyQqAw0wC6CcCZDgVjkqQRceeKdqz3S h3Ej7qGJJh4s5xja8lmaOsx0RTHl5e4NYK2+tWQgUTr+FkPgXEEeq4P/86fWkOtIEByt YO1qyPxNH/avzL38HJqcTyjkMsKKVTnoenI8FFpsqWU2J4ZBU1Nr7/7tAzxILkjkP2cX UXoQ== X-Gm-Message-State: AOAM5314ln5U3ZFDD+faQPOFDu6/ZjCMLNEoOvjZNuCBTptLG2P1OE9y 2v8u7DNKho0K5P2QfGetd3rvqA== X-Received: by 2002:a7b:c403:: with SMTP id k3mr9037305wmi.35.1594825598535; Wed, 15 Jul 2020 08:06:38 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id w2sm3906140wrs.77.2020.07.15.08.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 08:06:37 -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 03/14] spi: spi-davinci: Fix a few kerneldoc misspellings and API slippages Date: Wed, 15 Jul 2020 16:06:21 +0100 Message-Id: <20200715150632.409077-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715150632.409077-1-lee.jones@linaro.org> References: <20200715150632.409077-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