From patchwork Wed Jul 15 15:06:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235602 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp703220ilg; Wed, 15 Jul 2020 08:07:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPNrtnmRRL3gGgM1nzl0Noz6vn6PzyOP0EauAIpENAPku9l8PRDRuDNkPGocXK9yWphLKS X-Received: by 2002:a17:907:205c:: with SMTP id pg28mr9219288ejb.22.1594825653333; 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=xajMwvavF+cxNnDxtdBFdKZSpM71vwkkfz+ouGtjEyPfwIAzamQXKj09DKX8g87Fos nY/EnxCp0PVjHg8NQ4bGeVQSAqaJCcBlBZhGxkBZUES0XTwghgaEzhBmckfC2fIGFoMl 8cK1J5EaPHS2V1I30kc+lecCvLW1e7JrVPatS8cYzAc02pmhIPb7HwM559myT6CUlck3 Hdo78uydFlMDdrd5bK2EQo5D/JmcycWH9jDhEsdyw2nT2sBEUbgQ0IoiOBDR9VuA1oy6 bnSkcVKEDFDd4uXtEGMZjyf4KmDK6vjFD99ThVGTzM8PavKsq76IbN7MtSIs10ncxH1o RWpQ== 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=Q0v3MpsT0EiR8b5Jx0N89c4SZ6k9ifhqdf8ekF4nSQ4=; b=YugGUtZlPjED1W5x1k4aG2VwK5RfRxVljQEO6W9/Sm0x5RgegwvyqYa4dCv+z3OUXU fhnJvWCQbwhIq6UlrVsaBI3Tge5HIr55xc10oN7UYrRWH4ExVPTzmC6BQDapPBAjp/LC Xeo1TEtiU6WChlC0ZVnvBzIlAWg3549FYTAmt5s6YXH1wSUiFGDfZDJjOOZt9CmhgWPL SuPBNAceAl2QssdSRGQ5EeIt+Th7K8XMYv5Bq1Xriyjjx12eFrzs5emfATcjIvNvDaAS Rh7S+CjtFVovcOa05zDibrs9KKS73B65x2BA515K6XJFHRDWOhIvxvf6wISQyA5UqvHB rc3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oiEqOrmX; 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=oiEqOrmX; 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 S1727848AbgGOPGm (ORCPT + 2 others); Wed, 15 Jul 2020 11:06:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726941AbgGOPGl (ORCPT ); Wed, 15 Jul 2020 11:06:41 -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 E06DEC061755 for ; Wed, 15 Jul 2020 08:06:40 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id g75so5921081wme.5 for ; Wed, 15 Jul 2020 08:06:40 -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=Q0v3MpsT0EiR8b5Jx0N89c4SZ6k9ifhqdf8ekF4nSQ4=; b=oiEqOrmX2BCeuQ06E7MkwpKIP4Kzg4tSFdZCvp67JPPy3zuGG0hk8ZwYm+YrTRxez3 S9iEWCUA4c2hahIplVrfA69MF6/SQ7MGCu8MTU6oORMVoTfX2qt9tENX5pAEPb8hOZkU wj1Sj899IJnMTKboN+ELSEphoncvVC/TXnLx/5IQ2kO8/5kezYniQGyN11ps1lBIbxrr BLYu+c4DRt4uLJAX55f/u/3j2cQ9oI0CFD9/99mXFEMRYQIMXVmKdYhG8xCLiWqH1Ow8 a+ZTDoMSBYXrgIEpzWnr3w8dC3epdyq67iz9Tn+SpBspYuSNkyDDy8a/fdyP4HOLQd2j o5Dg== 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=Q0v3MpsT0EiR8b5Jx0N89c4SZ6k9ifhqdf8ekF4nSQ4=; b=aM+6yNVRGFVeXC0oxVIXiUZnPRXH9v0MB1pih5AMauLFtWDKmiEgYVVJQf3ObWwESM y72I0rlUrebSn3dhvSAPPeDbiA+oTF30f1hIoeVQMLnGoUVzEXl5YoUwaBvgLaKNa2Z7 CdwPe0Vu/kcUVpXT2W/Hv5wKbvMKgocGzttR91f0F2flWWwnY3S0ED3eCut3JPvlpeR7 iov0DvDWP/iQ6W0JNnh/ruWBjzGmUsdD3glDektrEboQe4nU/KQIXPTHFlZJzgXLcNX2 ZtRch/KIktvQnkCnvwnM/4vwHLGuuLuOTidppdxu4SnDV6fIHD+QzkIeE+HzFLmuFetD dpRA== X-Gm-Message-State: AOAM530o9P9Aeg/Oypq4q9v5P5UCSeqQvQVxU/fsoVh97jOFadxuVQHY oh5BYWealr8XPZXkC+/C4dlwXg== X-Received: by 2002:a1c:e383:: with SMTP id a125mr9253712wmh.11.1594825599646; Wed, 15 Jul 2020 08:06:39 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id w2sm3906140wrs.77.2020.07.15.08.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 08:06:38 -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 , Mika Westerberg Subject: [PATCH 04/14] spi: spi-ep93xx: Fix API slippage Date: Wed, 15 Jul 2020 16:06:22 +0100 Message-Id: <20200715150632.409077-5-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 ep93xx_spi_read_write() changed is parameters, but the function documentation was left unchanged. Let's realign. Fixes the following W=1 kernel build warning(s): drivers/spi/spi-ep93xx.c:227: warning: Function parameter or member 'master' not described in 'ep93xx_spi_read_write' drivers/spi/spi-ep93xx.c:227: warning: Excess function parameter 'espi' description in 'ep93xx_spi_read_write' Cc: Mika Westerberg Signed-off-by: Lee Jones --- drivers/spi/spi-ep93xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index ae7c79a062084..aa676559d2738 100644 --- a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c @@ -214,7 +214,7 @@ static void ep93xx_do_read(struct spi_master *master) /** * ep93xx_spi_read_write() - perform next RX/TX transfer - * @espi: ep93xx SPI controller struct + * @master: SPI master * * This function transfers next bytes (or half-words) to/from RX/TX FIFOs. If * called several times, the whole transfer will be completed. Returns