Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4918893pxj; Tue, 25 May 2021 21:11:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKllYAe98dQ0YQKopPM5FuDhGP/rl3z9YtDMWFBoWDeNFA81CFJSHggCctapOcPqY4d9Tz X-Received: by 2002:a17:907:7283:: with SMTP id dt3mr31507563ejc.253.1622002274308; Tue, 25 May 2021 21:11:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622002274; cv=none; d=google.com; s=arc-20160816; b=ld7COP3YALhet/tT/VksTP2dY9CUgDq6+snY4hwJ80u04dOew++EhTccqLpFEJoI5M zrsP3vfK7MXXXMm/RCgvcxKYfGoi4Y0PkMlK2VIVLbBWeGlyJvyfkuQCLZXrCpaBzyb9 8g0N2hAL2VA5xPFaEzp4+KN0gYN9wdBJfLz7mBojQ9u3czNEF3l/PTDX4N4P9rU+5HWK MZ3Mcsm7SDvL4Zpvzq54Krl4isDC4TYjUIYJ2iFQYTUmlIOqaBwRbmigD/MwqJim1rnE 2gU/dPtvAv0g/yzkYgxbuqPYr5Svlsng3BsX4I7OCKh7FO2NxUCNMhdHqyHf8D/gcYGb /h2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=3byk9EDJ0Ld+QaVbe5LMHiReObamR2I4O706pmaEIDY=; b=ATp4P2rOwTxNwQYJegt73O8W2Tk2H4E0Eb4aOizCcVAsRIE0mTGqBVVhFbk0ld7kbC rCb3l57VYORiA+RCGxtFSgNx9WL9k5qPiGoL9Ns1CUM4kZyWzJ9S/oUDqBFTYqQDi976 vW68j781rA+gHdhoh80jxhYNMMYN/cYup0vBrIc2lKoNbAW3ST7gQ9rjP18T/2XLNN3Z bcsCY+M6OPWE/GRsHQ2piTcrT25DSYqOQA0js0DpGucS5gqAYS2o3kxs3mogF/CiT2aM UvGuvZpjz2DbBazenlUXB1/C8T9fU+4JBfMy3N5fgjvng/HFvNEUp7NEuUyk9+bnLjvW 4vLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw23si18384488ejb.144.2021.05.25.21.10.51; Tue, 25 May 2021 21:11:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231464AbhEZDMY (ORCPT + 99 others); Tue, 25 May 2021 23:12:24 -0400 Received: from out30-56.freemail.mail.aliyun.com ([115.124.30.56]:44307 "EHLO out30-56.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbhEZDMC (ORCPT ); Tue, 25 May 2021 23:12:02 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R741e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Ua7n3xB_1621998629; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Ua7n3xB_1621998629) by smtp.aliyun-inc.com(127.0.0.1); Wed, 26 May 2021 11:10:30 +0800 From: Yang Li To: jarkko.nikula@linux.intel.com Cc: andriy.shevchenko@linux.intel.com, mika.westerberg@linux.intel.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH] i2c: designware: Fix kernel-doc Date: Wed, 26 May 2021 11:10:23 +0800 Message-Id: <1621998623-14846-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix function name in i2c-designware-master.c kernel-doc comment to remove a warning found by clang_w1. drivers/i2c/busses/i2c-designware-master.c:176: warning: expecting prototype for i2c_dw_init(). Prototype was for i2c_dw_init_master() instead. Reported-by: Abaci Robot Fixes: 'commit 21bf440ce18e ("i2c: designware: Make HW init functions static")' Signed-off-by: Yang Li --- drivers/i2c/busses/i2c-designware-master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-designware-master.c b/drivers/i2c/busses/i2c-designware-master.c index 13be1d6..9b08bb5 100644 --- a/drivers/i2c/busses/i2c-designware-master.c +++ b/drivers/i2c/busses/i2c-designware-master.c @@ -165,7 +165,7 @@ static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) } /** - * i2c_dw_init() - Initialize the designware I2C master hardware + * i2c_dw_init_master() - Initialize the designware I2C master hardware * @dev: device private data * * This functions configures and enables the I2C master. -- 1.8.3.1