From patchwork Thu May 20 19:00:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443313 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp252930jac; Thu, 20 May 2021 12:01:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxByqi6UmIuc9tGjH1kpxKgrWJMdUZjnlzbmAv+103Ym1Z/nWBxoX4yNTFWChZPZlyqo3MC X-Received: by 2002:a17:906:e98:: with SMTP id p24mr6075474ejf.478.1621537283796; Thu, 20 May 2021 12:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537283; cv=none; d=google.com; s=arc-20160816; b=meNMo203NqrDWHICiv1gCvbQlLTc8XPqDwUwhjsttbx3QSspGW+scD5vqPSgxrd7Zd MdF257daujZDAPN0rcEzeBLJlk+IPmqf1YzHnrF5GHYGtB99tKSCAT8MF0jOGt45w/Nr XF1zOeFPIx7NQYnPLDXOdwevJrDDGW2X/uCXqFDmTnV/Y7H7ajEn9eDVOG2odjMLX1vb geL+8cwFJPonp2NY1CxqXK9tZOqixiFZsfTNY6nLJfotPSEA2a1iQCP9OV4qTpl/cka5 TrjU1NjYweVhPYitq02WFEdDR0IUaDL4ZCYvrW3cC36QKQyZsa7m+sXQ3qrzDggg8r15 8j+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6u3rdbvD9PTfcCA7ACz3qmikp01AY6p3i41CuN7fNDA=; b=Zc/+yEDr+w9TPlcNobjJ81ZFwTCNTG0vt3BMJzhFdalKiNUueEysvF9W8d+HhVVFEO eiLjHC9sasr2gdnQEzXtwKoQV4vThsRh0xIEFZbj6gkO2wMkw56JxQZrOZpFfWobSbCp 6QcJdyg3Sd0JwsObMzzCYcy9PR2z0q1l7uL8Bt7ADHbszhFEPr7xO0RkFYaqZLYi7PHB RcveDJSy6VMpgWBZEkKVg5iuBhmuriGCJJpdTFMo8HQ5ytnI7LUsMPOgUusxPsMKl9G9 l/Jy6PppsFgCYbo/dKA4hurbs+gnTogJgZH/eOVtEUfJjlfg79G+O7loXMv+ABueyKyy eZbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WEjFR9I2; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-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 lx17si3107026ejb.61.2021.05.20.12.01.23; Thu, 20 May 2021 12:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=WEjFR9I2; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-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 S236651AbhETTCl (ORCPT + 2 others); Thu, 20 May 2021 15:02:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236610AbhETTCj (ORCPT ); Thu, 20 May 2021 15:02:39 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAF1FC06138C for ; Thu, 20 May 2021 12:01:16 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id z137-20020a1c7e8f0000b02901774f2a7dc4so5621973wmc.0 for ; Thu, 20 May 2021 12:01:16 -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=6u3rdbvD9PTfcCA7ACz3qmikp01AY6p3i41CuN7fNDA=; b=WEjFR9I20pFT5Qs9wmFrljlmfZP7vTI6gNIXTCFM20oq9F/DUik2fBKtZs4k9bxTrb 8prbrwtGwVnJAmeeGi0/IzeLS3WJGvXWfN25xdZkSurkpUMUuWmzU+q2aOerwi0RaiTB UzJQql9bKf4n7vDydlZ5kx1CjHt8I7iXGv1QexF+9c/5SWrDF43APOAA1/wD/9DDgxoM hFDhvCxkZdfZme7MJOq+9Y7ySb5D3DjTs8qQeF7wjskM7mbH5SFCICIrSEdIY6kv62DX ZCRssTuXjaGaGGN+whln4J/t2UP8SSSctqvKPyCoZuK1MJ6veVnDD841dkgSKEFTcYRS qECw== 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=6u3rdbvD9PTfcCA7ACz3qmikp01AY6p3i41CuN7fNDA=; b=edwWezYR6Dl730OrOP3p39aJhlT17YYhNUhPMHphKdar5o/6/vWnf6KBLCe6YcVX/O ZDt2w7u47OP/sLLAyBTn5teAxf3i/gV7M74M59KyETCt/92kBtd3AondG+7CM1VlPtyK v5DZZGcoeqW6udasawy2Z/Di0U+VLpT6JXTQmqSmvEfzcSJ4QtV3KWnxktcQDWbR0YhS ivbk3Gjweuqn2F0/HQoPZQwlyXG8Bs3nibBQWSdekI4ljwnWMrNqfxVnm3xhZ1Aqs9Cm nM0eqEQyvSX6linp3yVgi5FfP3+Q2jvMAu7DyIIRvcaHpT/FMrmcuycHu2XGq0xxPmr5 vHFw== X-Gm-Message-State: AOAM532YnPEwHo5QoMJvVerR9GL6vPVliJlo1BPi3imbt/TyqQhwNBkM t5yNhZvNMQ4vWLX9BYU69ADWZQ== X-Received: by 2002:a1c:7210:: with SMTP id n16mr5389110wmc.18.1621537275193; Thu, 20 May 2021 12:01:15 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:14 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Krzysztof Adamski , Anders Berg , linux-i2c@vger.kernel.org Subject: [PATCH 05/16] i2c: busses: i2c-axxia: Fix formatting issue in struct and demote unworthy kernel-doc headers Date: Thu, 20 May 2021 20:00:54 +0100 Message-Id: <20210520190105.3772683-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-axxia.c:135: warning: cannot understand function prototype: 'struct axxia_i2c_dev ' drivers/i2c/busses/i2c-axxia.c:172: warning: Function parameter or member 'ns' not described in 'ns_to_clk' drivers/i2c/busses/i2c-axxia.c:172: warning: Function parameter or member 'clk_mhz' not described in 'ns_to_clk' drivers/i2c/busses/i2c-axxia.c:271: warning: Function parameter or member 'idev' not described in 'axxia_i2c_empty_rx_fifo' drivers/i2c/busses/i2c-axxia.c:303: warning: Function parameter or member 'idev' not described in 'axxia_i2c_fill_tx_fifo' drivers/i2c/busses/i2c-axxia.c:150: warning: Function parameter or member 'slave' not described in 'axxia_i2c_dev' drivers/i2c/busses/i2c-axxia.c:150: warning: Function parameter or member 'irq' not described in 'axxia_i2c_dev' Cc: Krzysztof Adamski Cc: Anders Berg Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-axxia.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) -- 2.31.1 diff --git a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c index 5294b73beca85..946874e648547 100644 --- a/drivers/i2c/busses/i2c-axxia.c +++ b/drivers/i2c/busses/i2c-axxia.c @@ -117,8 +117,8 @@ #define SDA_SETUP_TIME 0x8c #define SDA_HOLD_TIME 0x90 -/** - * axxia_i2c_dev - I2C device context +/* + * struct axxia_i2c_dev - I2C device context * @base: pointer to register struct * @msg: pointer to current message * @msg_r: pointer to current read message (sequence transfer) @@ -165,7 +165,7 @@ static void i2c_int_enable(struct axxia_i2c_dev *idev, u32 mask) writel(int_en | mask, idev->base + MST_INT_ENABLE); } -/** +/* * ns_to_clk - Convert time (ns) to clock cycles for the given clock frequency. */ static u32 ns_to_clk(u64 ns, u32 clk_mhz) @@ -263,7 +263,7 @@ static int i2c_m_recv_len(const struct i2c_msg *msg) return (msg->flags & I2C_M_RECV_LEN) != 0; } -/** +/* * axxia_i2c_empty_rx_fifo - Fetch data from RX FIFO and update SMBus block * transfer length if this is the first byte of such a transfer. */ @@ -295,9 +295,8 @@ static int axxia_i2c_empty_rx_fifo(struct axxia_i2c_dev *idev) return 0; } -/** +/* * axxia_i2c_fill_tx_fifo - Fill TX FIFO from current message buffer. - * @return: Number of bytes left to transfer. */ static int axxia_i2c_fill_tx_fifo(struct axxia_i2c_dev *idev) {