From patchwork Wed Jul 15 15:06:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235597 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp703173ilg; Wed, 15 Jul 2020 08:07:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoyBXMxb9ngZWlxBYyAhAIpBq3/3QL3PjVUtbqu5V1U0nFr85J/vubBoJcCz3y6s3Gr2Gl X-Received: by 2002:aa7:d44f:: with SMTP id q15mr61115edr.340.1594825650227; Wed, 15 Jul 2020 08:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594825650; cv=none; d=google.com; s=arc-20160816; b=t3XvSL0yXrtCW6T8gBLCV8N6o0puAmy3XjvCbGAVWkSZcbJDhBWdM1mjnuvD386B93 dY3taWQTVsoDuiE/FP/VbBIPz/P0ykTZ+xZSAgKE3kG9A1JWEv0MuRV/A8NgEIbres6b x1z9lQWjH1kV7UeOb6Y20HCkkV4kSgwUBWv4uJh3HKawSbCPcNbyCyfXidsNACcrcI9f WjiUisRy1vr+XfEQHZNRmhP0r5jn4Xk26bQMMxwL9u19LuM6tr/v+DH3rW4G7zV3Kv/G sWMvDioljEe0C3ZYQ8HjmRrn/4EpqG2EodTehVBMkNFTB04bHusDj8eZEIvEIVViNzAm f6Lg== 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=P2yOByTJ584zq87efhS3Vkyk+agE9qVyWq/sL4PYeIk=; b=du3C5+wjcSlW67yf6Fa1CjQdZ63fy1MA9LG00Uhz6YXTv2bONDfojkdmF90FMm/wKO Wmx6Y1JooDDjCJulrWLC/i9dTCVK0+vlN8uXAMZkin2H6T0i6qVZkHqccSl3eXKqjyeo xgkrBlBfPsk6CpeEVlQDDZ9StYN73KURSH5B3Q5lzEzUGlBoJcvfvETvZmFLqQIDHou/ PvxtRz0dLKoTLLNkIy2theMwGxoixisWexxSc34JVPNiKI9AWmeM7XVSAVIpsMA4d0jX JPQ/F7wS6ZxwPPZdKpM5UmqO9d8cbZKX+QpwQmsYsrUYgWKDhTMbtTl7LPiBfC2YeBgI CIPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UyEhMAjQ; 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.30; Wed, 15 Jul 2020 08:07:30 -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=UyEhMAjQ; 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 S1727975AbgGOPGt (ORCPT + 2 others); Wed, 15 Jul 2020 11:06:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727965AbgGOPGs (ORCPT ); Wed, 15 Jul 2020 11:06:48 -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 D19B8C08C5E1 for ; Wed, 15 Jul 2020 08:06:47 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id o2so6184900wmh.2 for ; Wed, 15 Jul 2020 08:06:47 -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=P2yOByTJ584zq87efhS3Vkyk+agE9qVyWq/sL4PYeIk=; b=UyEhMAjQjWz7s63ZoKbqZd0he72PbgcQoERVqZzfPDdeHfi76qTF2aqAKxzkw+vs8v 1ccaVDSAO4pCzQ94UQJrxVt/sheMgiPUXVzxym6vO5O3kTo9gbcNiNZVaVD1plMF0J3k z3yGisz15rp6uRZwbOTBwSS7WRG2WW4RYhT3UooUQ1/ByKSkNAp8xkJVJkMzDKEaz/uV dY1tnRfjmei2kZiknTPr5tnLNurtxkTSnbU4QVjMd/PG1AQFoIo5f4IX91KQdnkdhecL G0V3E7kPOXw89FXa9PIId9kyqYzc/kbEl6QHQn+6MHKgA350J1Dw6gHOjtOneOkfuyyM 4CgQ== 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=P2yOByTJ584zq87efhS3Vkyk+agE9qVyWq/sL4PYeIk=; b=VHSq4Viiv27nQECVu6PWGZwsggUQZYsVJfawFOaExm0f/rM3cveFAPEPtjJ3dsHj0V Vl6V4spv+IVG7/vI861Cp2D/gWxlnuqeOVir1w9oXHO6dzRmXZMuhFrBOKELaH3pFD+L H24ev9KpzVoz2UJP2WuLMf4tOjrfS6ry/6v9UVVEtkibnDX7pMu9xGn6GwdGslov2eha o1WdNi0dwZpRGF7MMam2LQI9yppmYGL//NPCsz69r+syze5HUkqvVZ64DkpZxSdrSYXx JBvnFw6QO98LP0FRwl5mcgzzAu7DCxoZtakoUnvREds5r7Hp+DU6uejhGOrbu8FXJiSP iftw== X-Gm-Message-State: AOAM533X3N8h2PVv1X2DptnK8xrpJmbwEtWasBm3ZgJ6/c0LjR4btj+C xQmz16196hN6LIuYmG7+le0ZgA== X-Received: by 2002:a1c:f609:: with SMTP id w9mr9114757wmc.150.1594825606599; Wed, 15 Jul 2020 08:06:46 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id w2sm3906140wrs.77.2020.07.15.08.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 08:06:45 -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 , Michal Simek , Sureshkumar Relli Subject: [PATCH 09/14] spi: spi-zynq-qspi: Add description for 2 missing attributes/parameters Date: Wed, 15 Jul 2020 16:06:27 +0100 Message-Id: <20200715150632.409077-10-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-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: Michal Simek Cc: Sureshkumar Relli Signed-off-by: Lee Jones --- drivers/spi/spi-zynq-qspi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 Acked-by: Michal Simek 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.