From patchwork Fri Jul 17 13:54:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235703 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1724704ilg; Fri, 17 Jul 2020 06:55:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmujXfSLGlQtRBveBhDdCfXzUDjF+fL4UrY6HIpixgogpQtlZNxqLB12ST45o1qaDdg92l X-Received: by 2002:a17:906:40d3:: with SMTP id a19mr9000706ejk.474.1594994108302; Fri, 17 Jul 2020 06:55:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594994108; cv=none; d=google.com; s=arc-20160816; b=Y36qjry8VbBNHf3RFwpPNmeRc01u4GEdrlQaUeslWPh0wE8ncXpnsbtv88nfaSoVe0 whWZE+ntG/qxOWWiiTAUbSuQbaFm0E6eJ2RO5JLOaM1gPg2JL7Bz7V7MAJqCOyCNv2HL ztvYj8pHpiPZFFCJ1dKGYHpxmg+fnqI+SLWzAy1QCUzxp7xwFAExTkw3rKlfM5DlOAAY e2nSd81Qi3wyQAD6dBo9vWOCt1miNoOZHqXBdTlk1X4Da1A2cRpIgfLF02XuzxJKDvsI 8Zc3RwVDPN/EFmB8qisJsCykzXqMuzvMoCo5GPvzpowzzM0IORHQuHh/RAkV4Lx/pQrH Kdwg== 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=/mBj9pAMuVLonO6aKhrgrEYwyEsNFutXpDwnyRxo/to=; b=Nly4rifxFvv0VsyZvGL8ju55fOb2d0za0ePx18QixJz3WDdSymzfAmHXm2nMJPIGy4 b99Oy8tty5jhkwrARL22pMmQXL+sfbhiBVH7b7iTudK9NEK86pV8PnypkwzKMwsmAdBA 8HpdZ2CpQpK1r8JThEybr9EoaL2Vd9LXlsWulX6EAAn7/vBjh8LyMlWcaYkTuy4j4yzS NUZ3YXF2DxF1wYhLfAl7xFkUGfshfdHKWwXk50crDQyTmompgmT+5Mc+rN/9AbiYJ3+H D5FFqjxDQSDwRVtTpWbG/KAcJoPepQaZ5tZ6NJQQm1cFCU2FLVgD4uc1EXW/Xhj88wXn w6lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cCC6wwWl; 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.08; Fri, 17 Jul 2020 06:55:08 -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=cCC6wwWl; 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 S1727837AbgGQNzD (ORCPT + 2 others); Fri, 17 Jul 2020 09:55:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727033AbgGQNyh (ORCPT ); Fri, 17 Jul 2020 09:54:37 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89287C0619D4 for ; Fri, 17 Jul 2020 06:54:37 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id w3so17159209wmi.4 for ; Fri, 17 Jul 2020 06:54:37 -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=/mBj9pAMuVLonO6aKhrgrEYwyEsNFutXpDwnyRxo/to=; b=cCC6wwWlQpTMveu1qLqD9irne79EY5ETXeh1rAvAAmH+LbiFyUjRk1ScIyrfmwefTv mFH+Dn3v/+xPUHoIWVWnpdkrm8IZAwwrC0nGV6nJHAUPKTjea9YuyLEZQwc1IJAswX6+ tCXEHvtE1nHhDMPzh2+JAiQX+k+oxlOF0rSb1BHirgI+fTnJa1Wag/CmnsEhB2k4FQei IuVXnlndn2vb2xncG+l0JMF/aakBraFwN6jUo0NHQUI1LLX0qof6/3e3YtpgKX0gUI4o sBKrEHsK4I3F+qIti6r6RGX+i+V2MWy7R7rwXBmQH2TfDvHmoPTS3FPp8isAlmk2K3fI VMLA== 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=/mBj9pAMuVLonO6aKhrgrEYwyEsNFutXpDwnyRxo/to=; b=lX8o1XkVlwk6aBvoBt16BWr7WtA5y6PtAzdDY5MdAWVF299GJ+eyr/L9Il9AJNPSf4 ay5Vv667aOWLx5Q1HBUn0iAZNoq+2AVhr1nsgigOQGTACUWmAh9Pko5rw2cucbpv5fSi 6XFZ1tpvzHvRgi1Q+eHxqRQrs1wY9V8rjRlOMoDrRtIAzfKko/77uZTW+++MCNCQIxp1 54m7sWrC/xckB9xrZfgtAvesARiUiha3mU1ZaenN87FefZS98ne6PdDuDe6KTKP1/gC1 hbWl3V9dhvIW/QJEm3wz9dw1lmNyv6EI5YOuUCL+TBvyRwglwfJaDNNZfKQY5ZUXxgsx qFCA== X-Gm-Message-State: AOAM532zMW9hl/trLdBY0Izfxhk6FVZZFNJldDG3s0uGpB4x1KSwphkG Ovxh9lhPM4fX9canszITVmxwabuucxgwew== X-Received: by 2002:a1c:2d0c:: with SMTP id t12mr9259723wmt.43.1594994076272; Fri, 17 Jul 2020 06:54:36 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id w128sm16118356wmb.19.2020.07.17.06.54.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 06:54:35 -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 , Sureshkumar Relli , Michal Simek Subject: [PATCH v2 09/14] spi: spi-zynq-qspi: Add description for 2 missing attributes/parameters Date: Fri, 17 Jul 2020 14:54:19 +0100 Message-Id: <20200717135424.2442271-10-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-zynq-qspi.c:143: warning: Function parameter or member 'dev' not described in 'zynq_qspi' drivers/spi/spi-zynq-qspi.c:334: warning: Function parameter or member 'spi' not described in 'zynq_qspi_config_op' drivers/spi/spi-zynq-qspi.c:334: warning: Excess function parameter 'qspi' description in 'zynq_qspi_config_op' Cc: Sureshkumar Relli Signed-off-by: Lee Jones Reviewed-by: Michal Simek --- drivers/spi/spi-zynq-qspi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/spi/spi-zynq-qspi.c b/drivers/spi/spi-zynq-qspi.c index bbf3d90561f54..5d8a5ee62fa23 100644 --- a/drivers/spi/spi-zynq-qspi.c +++ b/drivers/spi/spi-zynq-qspi.c @@ -119,6 +119,7 @@ /** * struct zynq_qspi - Defines qspi driver instance + * @dev: Pointer to the this device's information * @regs: Virtual address of the QSPI controller registers * @refclk: Pointer to the peripheral clock * @pclk: Pointer to the APB clock @@ -316,7 +317,7 @@ static void zynq_qspi_chipselect(struct spi_device *spi, bool assert) /** * zynq_qspi_config_op - Configure QSPI controller for specified transfer * @xqspi: Pointer to the zynq_qspi structure - * @qspi: Pointer to the spi_device structure + * @spi: Pointer to the spi_device structure * * Sets the operational mode of QSPI controller for the next QSPI transfer and * sets the requested clock frequency.