From patchwork Thu May 20 19:01:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12271209 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4BDBC433B4 for ; Thu, 20 May 2021 19:05:10 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66A5860D07 for ; Thu, 20 May 2021 19:05:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66A5860D07 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/fqFh/hZGYn/msiMMV8p/VzFjaIurbyhKgJAo377IH0=; b=V2Sv8agnzS8MVQGImKzj8kwLyJ gDPHccxtEZv1c73ROps/GJ/rgNfF9n9zr7hZBUbb4f6GR3TFxR0p8Ke1QQhwTQNfziaWGCM76o1BI 07aH0f6cG/qtdXKnX0fdSQiPiJs8KkFaWGn6pnn/SJlBrf7Jf0YHyYHnxH7IXUUKX3lztxGvtASgk mew8KvO6D/v/vHABNjaJs9VDYx5TGtqqNP3SrXXoifmCrjCQxBvKaDGPN4kJBChR8UdyGVeA5B9Z6 WPT907AUIJg8RXulAO8lw2DzW8AHTnW9v2Vf8yPEKEOTJagS3uQgP10OatPQMV3GMfvdKsMBeunNs h0zPGUrg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnxC-002PA3-V1; Thu, 20 May 2021 19:03:32 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljnvE-002Ogm-08 for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 19:01:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=zNl0TWlb/d8Kz2EbzgNPnXTHheMEm6iTFjb4mkLXVgg=; b=Xxn1+1m9OYSVyOlJqSfgDTQwuk c4r+HlsXpqKhlTJ+fmcZS+ipmNd08j8iHjAnch8gKTaIitq2u31l/PGnVVn5t923rlihuc6Gk0qHQ kihW5LjlXaIGKHdEWuS+24I9vtPzB46l6QzVXm6iRv/qikmL2v6Ie+B94Wl7q56cM15lUw8soM3+K bOZuARKfDLmPCPXtnPqfvMJHX4VLVlgu/yKIhjG9cSQYUcTRaXgeGXFhZhcsgNgsjd7AaqSUosKfP Adl+OeC+o/mjScGak0+ot276hy9PnwpE9BOaMB78MSzy3TN6M33jOULpm3jzGqwVoW/pisJdw6vM3 NVXUymow==; Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljnvA-00Gaqc-EW for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 19:01:26 +0000 Received: by mail-wm1-x32c.google.com with SMTP id z130so9801645wmg.2 for ; Thu, 20 May 2021 12:01:22 -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=zNl0TWlb/d8Kz2EbzgNPnXTHheMEm6iTFjb4mkLXVgg=; b=cweL21sTrIdENzyBjbborhA49uE2ipRCdgcwxowe9KOMrycs2dDLqF52GV+t90hRys IoJFqt7C4RAHRco24xXERn5nErc3/2rKcViylH/knoA36dFnenR8Yk7fa5K9LJyvLZPG +zl0Yye1+p0am3ozSkKClsbDZf9FATUp7VcvtMudJNq8zxdrja1ue5QMFoy/JoPG/L4P 5aCGsvvB4nM4CnJW5XwcOSMmKGRBlEzvrmFh9w0X07ywQuRY/fgrrbVmThddpI9T84rp C9x0JnIxFl5iAxMV6ozehCNRcPzX2mZWaRDgXhXham+/jdMdcWRa6PhjlnmEq4xSt1DT 134A== 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=zNl0TWlb/d8Kz2EbzgNPnXTHheMEm6iTFjb4mkLXVgg=; b=GmV5koXsJjAI231/0dMC7GSqrlHgdgHocZbQakdPRnAh1TkP9U/V6dT/CweGt49mzI b1I+FJdDuIyzCiwJm5wG1tNJWtBPZMeDlZVjPZmrxcV8ayU+XtZ6PBDiiHQeVuzKR37L XBFZxzF4ygR27iR5ukL0u49zhT4dDmwU+0opFQ74K5tw6/U6P8HYJ9wbVk010Qd3eZT/ RwISlgPumySdb9DafvxexHh5auMuq3NI3lruTeUB1g/e+cl+jWAkrj2CGpeDChh7f261 4/clJUuuN/9yirdr6n2rJGNSXwavzwuXV9Vanb1M4ug1ibJz+chh061poj4Ofzgyh58W r7ag== X-Gm-Message-State: AOAM531Poc31Vx7eb/6uVdlQ396oWzfJZGn422cFeRjt42wYODSXsosK BuCw27TCzh/PBhCO5dahrzWe4g== X-Google-Smtp-Source: ABdhPJzxHkukShLJhUeulLdekCTyvrfuCDAywra0MTyFXRdW/ggmRXuGa47tGMYh9e/r2Cojvnu4XA== X-Received: by 2002:a05:600c:ad9:: with SMTP id c25mr4876956wmr.56.1621537281856; Thu, 20 May 2021 12:01:21 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:21 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Vladimir Zapolskiy , Dennis Kovalev , Vitaly Wool , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 11/16] i2c: busses: i2c-pnx: Provide descriptions for 'alg_data' data structure Date: Thu, 20 May 2021 20:01:00 +0100 Message-Id: <20210520190105.3772683-12-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_120124_512127_5DF5CD94 X-CRM114-Status: GOOD ( 14.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-pnx.c:147: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:147: warning: Excess function parameter 'adap' description in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:202: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:202: warning: Excess function parameter 'adap' description in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:231: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:231: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:301: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_rcv' drivers/i2c/busses/i2c-pnx.c:301: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_rcv' Cc: Vladimir Zapolskiy Cc: Dennis Kovalev Cc: Vitaly Wool Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Vladimir Zapolskiy --- drivers/i2c/busses/i2c-pnx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c index 8c4ec7f13f5ab..50f21cdbe90d3 100644 --- a/drivers/i2c/busses/i2c-pnx.c +++ b/drivers/i2c/busses/i2c-pnx.c @@ -138,7 +138,7 @@ static inline void i2c_pnx_arm_timer(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_start - start a device * @slave_addr: slave address - * @adap: pointer to adapter structure + * @alg_data: pointer to local driver data structure * * Generate a START signal in the desired mode. */ @@ -194,7 +194,7 @@ static int i2c_pnx_start(unsigned char slave_addr, /** * i2c_pnx_stop - stop a device - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Generate a STOP signal to terminate the master transaction. */ @@ -223,7 +223,7 @@ static void i2c_pnx_stop(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_xmit - transmit data to slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Sends one byte of data to the slave */ @@ -293,7 +293,7 @@ static int i2c_pnx_master_xmit(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_rcv - receive data from slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Reads one byte data from the slave */